From d4c524e461f374e0df0549a6da8b1c445eaf3bb2 Mon Sep 17 00:00:00 2001 From: Hans Kratz Date: Mon, 8 Nov 2021 12:11:13 +0100 Subject: [PATCH] Reword comment. --- src/cargo/core/source/source_id.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/cargo/core/source/source_id.rs b/src/cargo/core/source/source_id.rs index 3f4a5fd9e37..2d6e4e86250 100644 --- a/src/cargo/core/source/source_id.rs +++ b/src/cargo/core/source/source_id.rs @@ -618,10 +618,9 @@ impl Ord for SourceKind { // Otherwise please just leave a comment in your PR as to why the hash value is // changing and why the old value can't be easily preserved. // -// The hash value differs depending on endianess and bit-width since Rust 1.45 -// (see https://github.com/rust-lang/rust/issues/74215). We run this test only -// on 64-bit little-endian platforms which are most commonly used for -// development and tested in CI. +// The hash value depends on endianness and bit-width, so we only run this test on +// little-endian 64-bit CPUs (such as x86-64 and ARM64) where it matches the +// well-known value. #[test] #[cfg(all(target_endian = "little", target_pointer_width = "64"))] fn test_cratesio_hash() {