1
Fork 0
rust/compiler/rustc_const_eval/src
Eduardo Sánchez Muñoz b5fde0dae0 miri: fail when calling a function that requires an unavailable target feature
miri will report an UB when calling a function that has a `#[target_feature(enable = ...)]` attribute is called and the required feature is not available.

"Available features" are the same that `is_x86_feature_detected!` (or equivalent) reports to be available during miri execution (which can be enabled or disabled with the `-C target-feature` flag).
2023-07-16 00:23:17 +02:00
..
const_eval refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
interpret miri: fail when calling a function that requires an unavailable target feature 2023-07-16 00:23:17 +02:00
transform refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
util refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
errors.rs Better error for non const PartialEq call generated by match 2023-06-18 05:24:38 +00:00
lib.rs Name the destructure_mir_constant query appropriately 2023-07-05 15:54:43 +00:00