Skip to content

Commit 3f77e7d

Browse files
committed
rustc: Add a SAVE_TEMPS option to the Makefile for use when debugging stage1 and test cases
1 parent e0479c9 commit 3f77e7d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ else
2121
CFG_RUSTC_FLAGS := -nowarn -O
2222
endif
2323

24+
ifdef SAVE_TEMPS
25+
CFG_RUSTC_FLAGS += -save-temps
26+
endif
27+
2428
# On Darwin, we need to run dsymutil so the debugging information ends
2529
# up in the right place. On other platforms, it automatically gets
2630
# embedded into the executable, so use a no-op command.

0 commit comments

Comments
 (0)