diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-28 17:12:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-28 17:12:17 +0200 |
| commit | 39e840f8042cddf100710e802d37d9599b997f11 (patch) | |
| tree | 142f2de6b72fa39257dd4140dffa6ff8664d8d5f /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 3456b1d245f76dab9034a54701f942ed63974cf0 (diff) | |
| parent | 7a290fce907da1cda0687fe5e48372c08fe40ab8 (diff) | |
| download | rust-39e840f8042cddf100710e802d37d9599b997f11.tar.gz rust-39e840f8042cddf100710e802d37d9599b997f11.zip | |
Rollup merge of #129613 - RalfJung:interpret-target-feat, r=saethlin
interpret: do not make const-eval query result depend on tcx.sess The check against calling functions with missing target features uses `tcx.sess` to determine which target features are available. However, this can differ between different crates in a crate graph, so the same const-eval query can come to different conclusions about whether a constant evaluates successfully or not -- which is bad, we should consistently get the same result everywhere.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
