fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1-include ../tools.mk 2 3# Make sure we don't ICE if the linker prints a non-UTF-8 error message. 4 5# ignore-windows 6# 7# This does not work in its current form on windows, possibly due to 8# gcc bugs or something about valid Windows paths. See issue #29151 9# for more information. 10 11# ignore-macos 12# 13# This also does not work on Apple APFS due to the filesystem requiring 14# valid UTF-8 paths. 15 16# The zzz it to allow humans to tab complete or glob this thing. 17bad_dir := $(TMPDIR)/zzz$$'\xff' 18 19all: 20 $(RUSTC) library.rs 21 mkdir $(bad_dir) 22 mv $(TMPDIR)/liblibrary.a $(bad_dir) 23 $(RUSTC) -L $(bad_dir) exec.rs 2>&1 | $(CGREP) this_symbol_not_defined