2023-03-30 08:46:31 -05:00
|
|
|
# ignore-cross-compile
|
2022-08-22 19:00:00 -05:00
|
|
|
include ../tools.mk
|
2017-02-13 22:10:52 -06:00
|
|
|
|
2019-01-06 15:27:57 -06:00
|
|
|
# ignore-windows
|
|
|
|
# ignore-macos
|
|
|
|
|
2017-03-01 10:08:53 -06:00
|
|
|
# Test for #39529.
|
2017-02-13 22:10:52 -06:00
|
|
|
# `-z text` causes ld to error if there are any non-PIC sections
|
|
|
|
|
|
|
|
all:
|
|
|
|
$(RUSTC) hello.rs -C link-args=-Wl,-z,text
|