fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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