Skip to content

Commit

Permalink
Rollup merge of #121531 - saethlin:ignore-less-debug, r=compiler-errors
Browse files Browse the repository at this point in the history
Ignore less tests in debug builds

Since rust-lang/rust#120863 and rust-lang/rust#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.
  • Loading branch information
matthiaskrgr committed Feb 24, 2024
2 parents 0341df5 c2f7232 commit b4b5741
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit b4b5741

Please sign in to comment.