diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-04-07 00:51:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-07 00:51:25 +0200 |
| commit | 84dca1503e5268bd8a30a46576cff7b7541154eb (patch) | |
| tree | b2d341dbd4ed3364939e1014132b91bb617cdd4e /compiler/rustc_interface/src | |
| parent | 0ea427025b6fc8ea38e4385c448c1f2f8d781782 (diff) | |
| parent | a7912cb421db4f4039048cdba2b7fc98ae295342 (diff) | |
| download | rust-84dca1503e5268bd8a30a46576cff7b7541154eb.tar.gz rust-84dca1503e5268bd8a30a46576cff7b7541154eb.zip | |
Rollup merge of #123411 - saethlin:ub-checks, r=Urgau,RalfJung
Put checks that detect UB under their own flag below debug_assertions Implementation of https://github.com/rust-lang/compiler-team/issues/725
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index b9025917d13..d2fb65b5d4f 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -846,6 +846,7 @@ fn test_unstable_options_tracking_hash() { tracked!(trap_unreachable, Some(false)); tracked!(treat_err_as_bug, NonZero::new(1)); tracked!(tune_cpu, Some(String::from("abc"))); + tracked!(ub_checks, Some(false)); tracked!(uninit_const_chunk_threshold, 123); tracked!(unleash_the_miri_inside_of_you, true); tracked!(use_ctors_section, Some(true)); |
