Skip to content

Commit

Permalink
Changing cdylib to staticlib, as the former doesn't work with arm-non…
Browse files Browse the repository at this point in the history
…e-eabi-gcc.
  • Loading branch information
Tor Hovland committed Nov 10, 2021
1 parent 13dbdc6 commit 1793a7a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/test/run-make/issue-10971-temps-dir/Makefile
Expand Up @@ -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

0 comments on commit 1793a7a

Please sign in to comment.