fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
254 B12 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
7all: $(call DYLIB,cfoo)
8	$(RUSTC) foo.rs -C prefer-dynamic
9	$(RUSTC) bar.rs
10	$(call RUN,bar)
11	$(call REMOVE_DYLIBS,cfoo)
12	$(call FAIL,bar)