summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorArthur Carcano <arthur.carcano@ocamlpro.com>2022-12-06 10:35:34 +0100
committerArthur Carcano <arthur.carcano@ocamlpro.com>2022-12-06 10:35:34 +0100
commit4198d2975dd24322515f8894a3ac06e342aad183 (patch)
treec96824270187ee63058d226bb1adbe6f79e721e7 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent62590288621fe9c1fd9b379ed613538f7225f3eb (diff)
downloadrust-4198d2975dd24322515f8894a3ac06e342aad183.tar.gz
rust-4198d2975dd24322515f8894a3ac06e342aad183.zip
Implement masking in FileType hashing on Unix
Commit 77005950f09d2f9ba54962bf5adc3f2bc3a7213f implemented masking of
FileType to fix an issue[^1] in the semantic of FileType comparison.
This commit introduces masking to Hash to maintain the invariant that
x == y => hash(x) == hash(y).

[^1]: https://github.com/rust-lang/rust/issues/104900
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions