about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-10-25 12:38:10 +0000
committerbors <bors@rust-lang.org>2017-10-25 12:38:10 +0000
commitf764eaf453162cd19ef484ece07cc21e14dfb2c1 (patch)
treeb2c8fff039309610f16bb8919a39225506ef6252 /src/libstd/sys/unix/stack_overflow.rs
parentb2478052f88db8c8526ee2dc4a382da91eefc76c (diff)
parent7fa64bcef3a23e2a19792ebe297ed17fab36c273 (diff)
downloadrust-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