diff options
| author | bors <bors@rust-lang.org> | 2017-10-25 12:38:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-10-25 12:38:10 +0000 |
| commit | f764eaf453162cd19ef484ece07cc21e14dfb2c1 (patch) | |
| tree | b2c8fff039309610f16bb8919a39225506ef6252 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | b2478052f88db8c8526ee2dc4a382da91eefc76c (diff) | |
| parent | 7fa64bcef3a23e2a19792ebe297ed17fab36c273 (diff) | |
| download | rust-f764eaf453162cd19ef484ece07cc21e14dfb2c1.tar.gz rust-f764eaf453162cd19ef484ece07cc21e14dfb2c1.zip | |
Auto merge of #45476 - Xanewok:fingerprint-disambiguator, r=michaelwoerister
Use 128 bit instead of Symbol for crate disambiguator As discussed on gitter, this changes `crate_disambiguator` from Strings to what they are represented as, a 128 bit number. There's also one bit I think also needs to change, but wasn't 100% sure how: [create_root_def](https://github.com/rust-lang/rust/blob/f338dba29705e144bad8b2a675284538dd514896/src/librustc/hir/map/definitions.rs#L468-L482). Should I change `DefKey::root_parent_stable_hash` to accept `Fingerprint` as crate_disambiguator to quickly combine the hash of `crate_name` with the new 128 bit hash instead of a string for a disambiguator? r? @michaelwoerister EDIT: Are those 3 tests `mir-opt` failing, because the hash is different, because we calculate it a little bit differently (storing directly instead of hashing the hex-string representation)? Should it be updated like in #45319?
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
