]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/lto-dylib-dep/Makefile
Rollup merge of #105172 - alexs-sh:issue-98861-fix-next, r=scottmcm
[rust.git] / tests / 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)