fork/rust

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

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

1.40.0
293 B10 linesraw
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
7all:
8	$(RUSTC) a_dylib.rs --crate-type=dylib -C prefer-dynamic
9	$(RUSTC) main.rs -C lto
10	$(call RUN,main)