about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-24 15:35:14 +0100
committerGitHub <noreply@github.com>2024-02-24 15:35:14 +0100
commitd978a1c671a4c6fb61e96bad392558ba750e0d27 (patch)
treecc3c4d5efdd3db22e29fae5d5b9ed5f578a9edcf /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb87a713b9d0e94ec0d746fd22c7f869ceab0ee83 (diff)
parent2f3c0b98593044c00492f4287e27ef9733121c97 (diff)
downloadrust-d978a1c671a4c6fb61e96bad392558ba750e0d27.tar.gz
rust-d978a1c671a4c6fb61e96bad392558ba750e0d27.zip
Rollup merge of #121531 - saethlin:ignore-less-debug, r=compiler-errors
Ignore less tests in debug builds

Since https://github.com/rust-lang/rust/pull/120594 and https://github.com/rust-lang/rust/pull/120863, nearly all UB-detecting debug assertions get compiled out of code that is monomorphized by a crate built with debug assertions disabled.

Which means that if we default all our codegen tests to `-Cdebug-assertions=no`, most of them work just fine against a sysroot built with debug assertions.

I also tried to explain a bit better why some tests need to be skipped, for those that still need to be skipped.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions