fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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)