]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/hotplug_codegen_backend/Makefile
rustdoc-json: Make the `fns/generics.rs` test much more robust
[rust.git] / src / test / run-make-fulldeps / hotplug_codegen_backend / Makefile
1 include ../tools.mk
2
3 # ignore-stage1
4
5 all:
6         /bin/echo || exit 0 # This test requires /bin/echo to exist
7         $(RUSTC) the_backend.rs --crate-name the_backend --crate-type dylib \
8                 -o $(TMPDIR)/the_backend.dylib
9         $(RUSTC) some_crate.rs --crate-name some_crate --crate-type lib -o $(TMPDIR)/some_crate \
10                 -Z codegen-backend=$(TMPDIR)/the_backend.dylib -Z unstable-options
11         grep -x "This has been \"compiled\" successfully." $(TMPDIR)/some_crate