about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-28 17:12:17 +0200
committerGitHub <noreply@github.com>2024-08-28 17:12:17 +0200
commit39e840f8042cddf100710e802d37d9599b997f11 (patch)
tree142f2de6b72fa39257dd4140dffa6ff8664d8d5f /compiler/rustc_query_impl/src
parent3456b1d245f76dab9034a54701f942ed63974cf0 (diff)
parent7a290fce907da1cda0687fe5e48372c08fe40ab8 (diff)
downloadrust-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_query_impl/src')
0 files changed, 0 insertions, 0 deletions