Changing cdylib to staticlib, as the former doesn't work with arm-none-eabi-gcc.
This commit is contained in:
parent
13dbdc6ad3
commit
1793a7acc7
@ -3,11 +3,8 @@
|
||||
# Regression test for issue #10971
|
||||
# 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:
|
||||
touch $(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…
x
Reference in New Issue
Block a user