mirror of
https://github.com/rust-lang/rust
synced 2024-11-02 13:50:48 +00:00
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
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue