rust/compiler/rustc_const_eval
Matthias Krüger 39e840f804
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.
2024-08-28 17:12:17 +02:00
..
src Rollup merge of #129613 - RalfJung:interpret-target-feat, r=saethlin 2024-08-28 17:12:17 +02:00
Cargo.toml Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
messages.ftl interpret: do not make const-eval query result depend on tcx.sess 2024-08-26 17:08:52 +02:00