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
144144 CFG_RUSTC_FLAGS += -g
145145else ifdef CFG_ENABLE_DEBUGINFO_LINES
146146 $(info cfg : enabling line number debuginfo (CFG_ENABLE_DEBUGINFO_LINES))
147- CFG_RUSTC_FLAGS += -C debuginfo =1
147+ CFG_RUSTC_FLAGS += -Cdebuginfo =1
148148endif
149149
150150ifdef SAVE_TEMPS
Original file line number Diff line number Diff line change @@ -632,6 +632,7 @@ endif
632632# is a separate choice from whether to pass `-g` when building the
633633# compiler and standard library themselves.
634634CTEST_RUSTC_FLAGS := $$(subst -g,,$$(CTEST_RUSTC_FLAGS ) )
635+ CTEST_RUSTC_FLAGS := $$(subst -Cdebuginfo=1,,$$(CTEST_RUSTC_FLAGS ) )
635636ifdef CFG_ENABLE_DEBUGINFO_TESTS
636637CTEST_RUSTC_FLAGS += -g
637638endif
You can’t perform that action at this time.
0 commit comments