Skip to content

Commit 33e6962

Browse files
committed
Fix std debug assertions gate in fmt-write-boat
The test itself is still broken, but fix this gating separately first.
1 parent 120c9fc commit 33e6962

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-make/fmt-write-bloat/rmake.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
//@ ignore-cross-compile
1919

2020
use run_make_support::artifact_names::bin_name;
21-
use run_make_support::env::no_debug_assertions;
21+
use run_make_support::env::std_debug_assertions_enabled;
2222
use run_make_support::rustc;
2323
use run_make_support::symbols::any_symbol_contains;
2424

2525
fn main() {
2626
rustc().input("main.rs").opt().run();
2727
// panic machinery identifiers, these should not appear in the final binary
2828
let mut panic_syms = vec!["panic_bounds_check", "Debug"];
29-
if no_debug_assertions() {
29+
if std_debug_assertions_enabled() {
3030
// if debug assertions are allowed, we need to allow these,
3131
// otherwise, add them to the list of symbols to deny.
3232
panic_syms.extend_from_slice(&["panicking", "panic_fmt", "pad_integral", "Display"]);

0 commit comments

Comments
 (0)