Skip to content

Commit d956975

Browse files
committed
auto merge of #12899 : brson/rust/cleanbacktrace, r=alexcrichton
After `make clean` I'm seeing the build break with ``` cp: cannot stat ‘x86_64-unknown-linux-gnu/rt/libbacktrace/.libs/libbacktrace.a’: No such file or directory ``` Deleteing the libbacktrace dir entirely on clean fixes.
2 parents f6fcdbb + 94078f7 commit d956975

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mk/clean.mk

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ define CLEAN_HOST_STAGE_N
7878
clean$(1)_H_$(2): \
7979
$$(foreach crate,$$(CRATES),clean$(1)_H_$(2)-lib-$$(crate)) \
8080
$$(foreach tool,$$(TOOLS),clean$(1)_H_$(2)-tool-$$(tool))
81+
$$(Q)rm -fr $(2)/rt/libbacktrace
8182

8283
clean$(1)_H_$(2)-tool-%:
8384
$$(Q)rm -f $$(HBIN$(1)_H_$(2))/$$*$$(X_$(2))

0 commit comments

Comments
 (0)