Skip to content

Commit d4c524e

Browse files
authored
Reword comment.
1 parent b5590ca commit d4c524e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/cargo/core/source/source_id.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -618,10 +618,9 @@ impl Ord for SourceKind {
618618
// Otherwise please just leave a comment in your PR as to why the hash value is
619619
// changing and why the old value can't be easily preserved.
620620
//
621-
// The hash value differs depending on endianess and bit-width since Rust 1.45
622-
// (see https://github.com/rust-lang/rust/issues/74215). We run this test only
623-
// on 64-bit little-endian platforms which are most commonly used for
624-
// development and tested in CI.
621+
// The hash value depends on endianness and bit-width, so we only run this test on
622+
// little-endian 64-bit CPUs (such as x86-64 and ARM64) where it matches the
623+
// well-known value.
625624
#[test]
626625
#[cfg(all(target_endian = "little", target_pointer_width = "64"))]
627626
fn test_cratesio_hash() {

0 commit comments

Comments
 (0)