File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/run-make/fmt-write-bloat Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 18
18
//@ ignore-cross-compile
19
19
20
20
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 ;
22
22
use run_make_support:: rustc;
23
23
use run_make_support:: symbols:: any_symbol_contains;
24
24
25
25
fn main ( ) {
26
26
rustc ( ) . input ( "main.rs" ) . opt ( ) . run ( ) ;
27
27
// panic machinery identifiers, these should not appear in the final binary
28
28
let mut panic_syms = vec ! [ "panic_bounds_check" , "Debug" ] ;
29
- if no_debug_assertions ( ) {
29
+ if std_debug_assertions_enabled ( ) {
30
30
// if debug assertions are allowed, we need to allow these,
31
31
// otherwise, add them to the list of symbols to deny.
32
32
panic_syms. extend_from_slice ( & [ "panicking" , "panic_fmt" , "pad_integral" , "Display" ] ) ;
You can’t perform that action at this time.
0 commit comments