about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-11-27 11:46:42 +0100
committerGitHub <noreply@github.com>2021-11-27 11:46:42 +0100
commit43279b27498c05cc11f08501ad6410397e9e4837 (patch)
tree0c2b9a8a2b5bb95d856c8448731d06733e535ca5 /compiler/rustc_mir_transform/src/coverage/graph.rs
parent14ef447d1237a2534f3acc19a2f986b217ef274d (diff)
parent53fc69f87c623cf3085127530b3f6a810bfd5a4a (diff)
downloadrust-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