about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-30 10:18:27 +0200
committerGitHub <noreply@github.com>2025-04-30 10:18:27 +0200
commit1267f0c07c4766bf44ed1b97b2d1388bd7d131a8 (patch)
treeb6d9d9068db75974212683075a2c3035273fbb73 /compiler/rustc_query_impl/src
parentbb037805c104510a12822366643acca90b9768a9 (diff)
parent4fe94badef30e6a8b13f27ef3a0b8c8e0de866fa (diff)
downloadrust-1267f0c07c4766bf44ed1b97b2d1388bd7d131a8.tar.gz
rust-1267f0c07c4766bf44ed1b97b2d1388bd7d131a8.zip
Rollup merge of #140438 - ferrocene:pa-debug-assertions-tools, r=Kobzol
Add `rust.debug-assertions-tools` option

Before this PR, the two only options to configure the presence of debug assertions were the `rust.debug-assertions` and `rust.debug-assertions-std` options. The former applied to everything, and the latter allowed to override the setting just for the standard library. This combination of settings doesn't allow to enable debug assertions for the std and the compiler but not tools.

Some tools (like Cargo) are not really meant to be executed with debug assertions enabled, and in Ferrocene we hit some debug assertions in it that are exclusively meant for its test suite. We'd thus like to enable debug assertions everywhere but in tools.

This PR adds a `rust.debug-assertions-tools` setting that does exactly this.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions