about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-03 10:41:00 +0100
committerGitHub <noreply@github.com>2025-03-03 10:41:00 +0100
commitfe9feb31204824f9dc62ceef480544d286ccfe4b (patch)
tree761691e5d911a85c7002cb307d130603a7156df6 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentd344960f88f588db705c8129b53a74b563c024c1 (diff)
parent7721431d57f7c8eea818d39d7a284459bb15f6e3 (diff)
downloadrust-fe9feb31204824f9dc62ceef480544d286ccfe4b.tar.gz
rust-fe9feb31204824f9dc62ceef480544d286ccfe4b.zip
Rollup merge of #137741 - cuviper:const_str-raw_entry, r=Mark-Simulacrum
Stop using `hash_raw_entry` in `CodegenCx::const_str`

That unstable feature (#56167) completed fcp-close, so the compiler needs to be
migrated away to allow its removal. In this case, `cg_llvm` and `cg_gcc`
were using raw entries to optimize their `const_str_cache` lookup and
insertion. We can change that to separate `get` and (on miss) `insert`
calls, so we still have the fast path avoiding string allocation when
the cache hits.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions