blob: a3d0190eed6331225986609b74b727f79ff661e0 [file] [log] [blame]
-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