diff options
| author | bors <bors@rust-lang.org> | 2022-01-24 11:20:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-01-24 11:20:01 +0000 |
| commit | d2dc425721554348d4ed427f7eb89cdb49efefdb (patch) | |
| tree | 4b22bae886375dea54ccdc49bb4c7c986d368369 /src/test/debuginfo | |
| parent | ef119d704d87a05435ea97ef4161529142313a9b (diff) | |
| parent | 50f8062316e37e9be6ee58dc7e5311a5515591da (diff) | |
| download | rust-d2dc425721554348d4ed427f7eb89cdb49efefdb.tar.gz rust-d2dc425721554348d4ed427f7eb89cdb49efefdb.zip | |
Auto merge of #93014 - Kobzol:revert-92103-stable-hash-skip-zero-bytes, r=the8472
Revert "Do not hash leading zero bytes of i64 numbers in Sip128 hasher" Reverts rust-lang/rust#92103. It had a (in retrospect, obvious) correctness problem where changing the order of two adjacent values would produce identical hashes, which is problematic in stable hashing (see [this comment](https://github.com/rust-lang/rust/pull/92103#issuecomment-1014625442)). I'll try to send the PR again with a fix for this issue. r? `@the8472`
Diffstat (limited to 'src/test/debuginfo')
| -rw-r--r-- | src/test/debuginfo/function-names.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/debuginfo/function-names.rs b/src/test/debuginfo/function-names.rs index ac9a02cce04..61d5fc93cd2 100644 --- a/src/test/debuginfo/function-names.rs +++ b/src/test/debuginfo/function-names.rs @@ -37,7 +37,7 @@ // Const generic parameter // gdb-command:info functions -q function_names::const_generic_fn.* // gdb-check:[...]static fn function_names::const_generic_fn_bool<false>(); -// gdb-check:[...]static fn function_names::const_generic_fn_non_int<{CONST#3fcd7c34c1555be6}>(); +// gdb-check:[...]static fn function_names::const_generic_fn_non_int<{CONST#fe3cfa0214ac55c7}>(); // gdb-check:[...]static fn function_names::const_generic_fn_signed_int<-7>(); // gdb-check:[...]static fn function_names::const_generic_fn_unsigned_int<14>(); @@ -76,7 +76,7 @@ // Const generic parameter // cdb-command:x a!function_names::const_generic_fn* // cdb-check:[...] a!function_names::const_generic_fn_bool<false> (void) -// cdb-check:[...] a!function_names::const_generic_fn_non_int<CONST$3fcd7c34c1555be6> (void) +// cdb-check:[...] a!function_names::const_generic_fn_non_int<CONST$fe3cfa0214ac55c7> (void) // cdb-check:[...] a!function_names::const_generic_fn_unsigned_int<14> (void) // cdb-check:[...] a!function_names::const_generic_fn_signed_int<-7> (void) |
