]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/lto-dylib-dep/Makefile
Rollup merge of #100892 - sunfishcode:wasi-stdio-asfd, r=joshtriplett
[rust.git] / src / test / run-make-fulldeps / lto-dylib-dep / Makefile
1 include ../tools.mk
2
3 # Test that we don't run into an assertion when using a Rust dylib dependency
4 # while compiling with full LTO.
5 # See https://github.com/rust-lang/rust/issues/59137
6
7 all:
8         $(RUSTC) a_dylib.rs --crate-type=dylib -C prefer-dynamic
9         $(RUSTC) main.rs -C lto
10         $(call RUN,main)