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 15
15
//! `NO_DEBUG_ASSERTIONS=1`). If debug assertions are disabled, then we can check for the absence of
16
16
//! additional `usize` formatting and padding related symbols.
17
17
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.
24
18
//@ ignore-cross-compile
25
19
20
+ use run_make_support:: artifact_names:: bin_name;
26
21
use run_make_support:: env:: no_debug_assertions;
27
22
use run_make_support:: rustc;
28
23
use run_make_support:: symbols:: any_symbol_contains;
@@ -36,5 +31,5 @@ fn main() {
36
31
// otherwise, add them to the list of symbols to deny.
37
32
panic_syms. extend_from_slice ( & [ "panicking" , "panic_fmt" , "pad_integral" , "Display" ] ) ;
38
33
}
39
- assert ! ( !any_symbol_contains( "main" , & panic_syms) ) ;
34
+ assert ! ( !any_symbol_contains( bin_name ( "main" ) , & panic_syms) ) ;
40
35
}
You can’t perform that action at this time.
0 commit comments