Skip to content

Commit 1793a7a

Browse files
author
Tor Hovland
committed
Changing cdylib to staticlib, as the former doesn't work with arm-none-eabi-gcc.
1 parent 13dbdc6 commit 1793a7a

File tree

1 file changed

+1
-4
lines changed
  • src/test/run-make/issue-10971-temps-dir

1 file changed

+1
-4
lines changed

src/test/run-make/issue-10971-temps-dir/Makefile

+1-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@
33
# Regression test for issue #10971
44
# Running two invocations in parallel would overwrite each other's temp files.
55

6-
## clean up unused env variables which might cause harm.
7-
unexport RUSTC_LINKER
8-
96
all:
107
touch $(TMPDIR)/lib.rs
118

129
$(RUSTC) --crate-type=lib -Z temps-dir=$(TMPDIR)/temp1 $(TMPDIR)/lib.rs & \
13-
$(RUSTC) --crate-type=cdylib -Z temps-dir=$(TMPDIR)/temp2 $(TMPDIR)/lib.rs
10+
$(RUSTC) --crate-type=staticlib -Z temps-dir=$(TMPDIR)/temp2 $(TMPDIR)/lib.rs

0 commit comments

Comments
 (0)