Changing cdylib to staticlib, as the former doesn't work with arm-none-eabi-gcc.
This commit is contained in:
parent
13dbdc6ad3
commit
1793a7acc7
1 changed files with 1 additions and 4 deletions
|
@ -3,11 +3,8 @@
|
||||||
# Regression test for issue #10971
|
# Regression test for issue #10971
|
||||||
# Running two invocations in parallel would overwrite each other's temp files.
|
# Running two invocations in parallel would overwrite each other's temp files.
|
||||||
|
|
||||||
## clean up unused env variables which might cause harm.
|
|
||||||
unexport RUSTC_LINKER
|
|
||||||
|
|
||||||
all:
|
all:
|
||||||
touch $(TMPDIR)/lib.rs
|
touch $(TMPDIR)/lib.rs
|
||||||
|
|
||||||
$(RUSTC) --crate-type=lib -Z temps-dir=$(TMPDIR)/temp1 $(TMPDIR)/lib.rs & \
|
$(RUSTC) --crate-type=lib -Z temps-dir=$(TMPDIR)/temp1 $(TMPDIR)/lib.rs & \
|
||||||
$(RUSTC) --crate-type=cdylib -Z temps-dir=$(TMPDIR)/temp2 $(TMPDIR)/lib.rs
|
$(RUSTC) --crate-type=staticlib -Z temps-dir=$(TMPDIR)/temp2 $(TMPDIR)/lib.rs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue