File tree 3 files changed +26
-0
lines changed
tests/run-make/fmt-write-bloat
3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ run-make/extern-flag-disambiguates/Makefile
20
20
run-make/extern-fn-reachable/Makefile
21
21
run-make/extern-multiple-copies/Makefile
22
22
run-make/extern-multiple-copies2/Makefile
23
+ run-make/fmt-write-bloat/Makefile
23
24
run-make/foreign-double-unwind/Makefile
24
25
run-make/foreign-exceptions/Makefile
25
26
run-make/foreign-rust-exceptions/Makefile
Original file line number Diff line number Diff line change
1
+ include ../tools.mk
2
+
3
+ # ignore-windows
4
+
5
+ ifeq ($(shell $(RUSTC ) -vV | grep 'host : $(TARGET ) '),)
6
+
7
+ # Don't run this test when cross compiling.
8
+ all :
9
+
10
+ else
11
+
12
+ NM = nm
13
+
14
+ PANIC_SYMS = panic_bounds_check Debug
15
+
16
+ # Allow for debug_assert!() in debug builds of std.
17
+ ifdef NO_DEBUG_ASSERTIONS
18
+ PANIC_SYMS += panicking panic_fmt pad_integral Display Debug
19
+ endif
20
+
21
+ all : main.rs
22
+ $(RUSTC ) $< -O
23
+ $(NM ) $(call RUN_BINFILE,main) | $(CGREP ) -v $(PANIC_SYMS )
24
+
25
+ endif
File renamed without changes.
You can’t perform that action at this time.
0 commit comments