fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
424 B9 linesraw
1include ../tools.mk
2
3all:
4	/bin/echo || exit 0 # This test requires /bin/echo to exist
5	$(RUSTC) the_backend.rs --crate-name the_backend --crate-type dylib \
6		-o $(TMPDIR)/the_backend.dylib
7	$(RUSTC) some_crate.rs --crate-name some_crate --crate-type lib -o $(TMPDIR)/some_crate \
8		-Z codegen-backend=$(TMPDIR)/the_backend.dylib -Z unstable-options
9	grep -x "This has been \"compiled\" successfully." $(TMPDIR)/some_crate