File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
tests/run-make/fmt-write-bloat Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 1515//! `NO_DEBUG_ASSERTIONS=1`). If debug assertions are disabled, then we can check for the absence of
1616//! additional `usize` formatting and padding related symbols.
1717
18- //@ ignore-windows
19- // Reason:
20- // - MSVC targets really need to parse the .pdb file (aka the debug information).
21- // On Windows there's an API for that (dbghelp) which maybe we can use
22- // - MinGW targets have a lot of symbols included in their runtime which we can't avoid.
23- // We would need to make the symbols we're looking for more specific for this test to work.
2418//@ ignore-cross-compile
2519
20+ use run_make_support:: artifact_names:: bin_name;
2621use run_make_support:: env:: no_debug_assertions;
2722use run_make_support:: rustc;
2823use run_make_support:: symbols:: any_symbol_contains;
@@ -36,5 +31,5 @@ fn main() {
3631 // otherwise, add them to the list of symbols to deny.
3732 panic_syms. extend_from_slice ( & [ "panicking" , "panic_fmt" , "pad_integral" , "Display" ] ) ;
3833 }
39- assert ! ( !any_symbol_contains( "main" , & panic_syms) ) ;
34+ assert ! ( !any_symbol_contains( bin_name ( "main" ) , & panic_syms) ) ;
4035}
You can’t perform that action at this time.
0 commit comments