diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-11-27 11:46:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-27 11:46:42 +0100 |
| commit | 43279b27498c05cc11f08501ad6410397e9e4837 (patch) | |
| tree | 0c2b9a8a2b5bb95d856c8448731d06733e535ca5 /compiler/rustc_mir_transform/src/coverage/graph.rs | |
| parent | 14ef447d1237a2534f3acc19a2f986b217ef274d (diff) | |
| parent | 53fc69f87c623cf3085127530b3f6a810bfd5a4a (diff) | |
| download | rust-43279b27498c05cc11f08501ad6410397e9e4837.tar.gz rust-43279b27498c05cc11f08501ad6410397e9e4837.zip | |
Rollup merge of #90995 - the8472:hash-portability, r=dtolnay
Document non-guarantees for Hash Dependence on endianness and type sizes was reported for enum discriminants in #74215 but it is a more general issue since for example the default implementation of `Hasher::write_usize` uses native endianness. Additionally the implementations of library types are occasionally changed as their internal fields change or hashing gets optimized. ## Question Should this go on the module level documentation instead since it also concerns `Hasher` to some extent and not just `Hash`? resolves #74215
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
