File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/test/run-make/cross-lang-lto Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11
22# min-llvm-version 4.0
3+ # ignore-mingw
34
45-include ../../run-make-fulldeps/tools.mk
56
@@ -24,7 +25,7 @@ BUILD_EXE=$(RUSTC) main.rs -Copt-level=2 -Z cross-lang-lto -Ccodegen-units=1 --e
2425all : staticlib staticlib-fat-lto staticlib-thin-lto rlib exe cdylib rdylib
2526
2627staticlib : lib.rs
27- $(BUILD_LIB ) --crate-type=staticlib
28+ $(BUILD_LIB ) --crate-type=staticlib -o $( TMPDIR ) /liblib.a
2829 [ " $$ ($( SECTION_HEADERS) $( TMPDIR) /liblib.a | grep -c $( LLVMBC_SECTION_NAME) )" -ne " 0" ]
2930
3031staticlib-fat-lto : lib.rs
@@ -36,7 +37,7 @@ staticlib-thin-lto: lib.rs
3637 [ " $$ ($( SECTION_HEADERS) $( TMPDIR) /liblib-thin-lto.a | grep -c $( LLVMBC_SECTION_NAME) )" -ne " 0" ]
3738
3839rlib : lib.rs
39- $(BUILD_LIB ) --crate-type=rlib
40+ $(BUILD_LIB ) --crate-type=rlib -o $( TMPDIR ) /liblib.rlib
4041 [ " $$ ($( SECTION_HEADERS) $( TMPDIR) /liblib.rlib | grep -c $( LLVMBC_SECTION_NAME) )" -ne " 0" ]
4142
4243cdylib : lib.rs
You can’t perform that action at this time.
0 commit comments