Skip to content

Commit

Permalink
simplify link-cfg workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Mar 4, 2019
1 parent e676f99 commit 605cc3b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/test/run-make-fulldeps/link-cfg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
all: $(call DYLIB,return1) $(call DYLIB,return2) $(call NATIVE_STATICLIB,return3)
ls $(TMPDIR)

ifneq ($(IS_MUSL_HOST),1)
$(RUSTC) --print cfg --target x86_64-unknown-linux-musl | $(CGREP) crt-static
endif
$(BARE_RUSTC) --print cfg --target x86_64-unknown-linux-musl | $(CGREP) crt-static

$(RUSTC) no-deps.rs --cfg foo
$(call RUN,no-deps)
Expand Down

0 comments on commit 605cc3b

Please sign in to comment.