File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ ifdef CFG_ENABLE_DEBUGINFO
144
144
CFG_RUSTC_FLAGS += -g
145
145
else ifdef CFG_ENABLE_DEBUGINFO_LINES
146
146
$(info cfg : enabling line number debuginfo (CFG_ENABLE_DEBUGINFO_LINES))
147
- CFG_RUSTC_FLAGS += -C debuginfo =1
147
+ CFG_RUSTC_FLAGS += -Cdebuginfo =1
148
148
endif
149
149
150
150
ifdef SAVE_TEMPS
Original file line number Diff line number Diff line change @@ -632,6 +632,7 @@ endif
632
632
# is a separate choice from whether to pass `-g` when building the
633
633
# compiler and standard library themselves.
634
634
CTEST_RUSTC_FLAGS := $$(subst -g,,$$(CTEST_RUSTC_FLAGS ) )
635
+ CTEST_RUSTC_FLAGS := $$(subst -Cdebuginfo=1,,$$(CTEST_RUSTC_FLAGS ) )
635
636
ifdef CFG_ENABLE_DEBUGINFO_TESTS
636
637
CTEST_RUSTC_FLAGS += -g
637
638
endif
You can’t perform that action at this time.
0 commit comments