fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
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)