fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
330 B15 linesraw
1-include ../tools.mk
2
3# ignore-macos
4#
5# This hits an assertion in the linker on older versions of osx apparently
6
7# This overrides the LD_LIBRARY_PATH for RUN
8TARGET_RPATH_DIR:=$(TARGET_RPATH_DIR):$(TMPDIR)
9
10all: $(call DYLIB,cfoo)
11	$(RUSTC) foo.rs
12	$(RUSTC) bar.rs
13	$(call RUN,bar)
14	$(call REMOVE_DYLIBS,cfoo)
15	$(call FAIL,bar)