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 1818//@ ignore-cross-compile
1919
2020use 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 ;
2222use run_make_support:: rustc;
2323use run_make_support:: symbols:: any_symbol_contains;
2424
2525fn 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" ] ) ;
You can’t perform that action at this time.
0 commit comments