diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2024-10-24 14:19:57 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-24 14:19:57 +1100 |
| commit | 006a14230fee284d732c547eeee9816a5460dfb1 (patch) | |
| tree | b33a6c3f07631e1e9264707b330af23c73584c5e /compiler/rustc_codegen_llvm/src | |
| parent | 8f354fc94ad771a36d98a2ab2c237fda719673b4 (diff) | |
| parent | 03048096f6c4ed89ee2a5d6c86cd8268d0bc61bd (diff) | |
| download | rust-006a14230fee284d732c547eeee9816a5460dfb1.tar.gz rust-006a14230fee284d732c547eeee9816a5460dfb1.zip | |
Rollup merge of #132076 - RalfJung:feature-hashing, r=nnethercote,Mark-Simulacrum
HashStable for rustc_feature::Features: stop hashing compile-time constant It seems like back in https://github.com/rust-lang/rust/commit/542bc75deaaf4e84dcd7a196685bc1a1cb100d32 this was added as "hash the boolean value of each lang feature", but then in https://github.com/rust-lang/rust/commit/1487bd6a174f813967ffff6b3334b4fe296f1f30 this got split into first hashing a sequence of `bool`s (representing all the features) and then hashing all the feature names... but the list of feature names is a compile-time constant, so it seems entirely unnecessary to hash them? Cc `@Mark-Simulacrum` who wrote the second of the commits mentioned above. Cc `@nnethercote`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
