]> git.proxmox.com Git - rustc.git/blob - tests/run-make/lto-dylib-dep/Makefile
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / run-make / lto-dylib-dep / Makefile
1 # ignore-cross-compile
2 include ../tools.mk
3
4 # Test that we don't run into an assertion when using a Rust dylib dependency
5 # while compiling with full LTO.
6 # See https://github.com/rust-lang/rust/issues/59137
7
8 all:
9 $(RUSTC) a_dylib.rs --crate-type=dylib -C prefer-dynamic
10 $(RUSTC) main.rs -C lto
11 $(call RUN,main)