Skip to content

Commit

Permalink
test/use-extern-for-plugins: Don't assume multilib
Browse files Browse the repository at this point in the history
  • Loading branch information
smaeul committed Jun 23, 2024
1 parent 5b9b753 commit 0ba6e46
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/run-make/use-extern-for-plugins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ include ../tools.mk
# ignore-openbsd
# ignore-solaris

HOST := $(shell $(RUSTC) -vV | grep 'host:' | sed 's/host: //')
ifeq ($(findstring i686,$(HOST)),i686)
TARGET := $(subst i686,x86_64,$(HOST))
else
TARGET := $(subst x86_64,i686,$(HOST))
endif
TARGET := $(shell $(RUSTC) -vV | grep 'host:' | sed 's/host: //')

all:
$(RUSTC) foo.rs -C extra-filename=-host
Expand Down

0 comments on commit 0ba6e46

Please sign in to comment.