rustc: Add a SAVE_TEMPS option to the Makefile for use when debugging stage1 and test cases
This commit is contained in:
parent
e0479c902b
commit
3f77e7df6d
@ -21,6 +21,10 @@ else
|
||||
CFG_RUSTC_FLAGS := -nowarn -O
|
||||
endif
|
||||
|
||||
ifdef SAVE_TEMPS
|
||||
CFG_RUSTC_FLAGS += -save-temps
|
||||
endif
|
||||
|
||||
# On Darwin, we need to run dsymutil so the debugging information ends
|
||||
# up in the right place. On other platforms, it automatically gets
|
||||
# embedded into the executable, so use a no-op command.
|
||||
|
Loading…
Reference in New Issue
Block a user