rustc/tests/run-make/fpic/Makefile
2023-09-14 08:56:40 +02:00

12 lines
211 B
Makefile

# ignore-cross-compile
include ../tools.mk
# ignore-windows
# ignore-macos
# Test for #39529.
# `-z text` causes ld to error if there are any non-PIC sections
all:
$(RUSTC) hello.rs -C link-args=-Wl,-z,text