File tree 1 file changed +3
-2
lines changed
src/test/run-make/cross-lang-lto 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
2
2
# min-llvm-version 4.0
3
+ # ignore-mingw
3
4
4
5
-include ../../run-make-fulldeps/tools.mk
5
6
@@ -24,7 +25,7 @@ BUILD_EXE=$(RUSTC) main.rs -Copt-level=2 -Z cross-lang-lto -Ccodegen-units=1 --e
24
25
all : staticlib staticlib-fat-lto staticlib-thin-lto rlib exe cdylib rdylib
25
26
26
27
staticlib : lib.rs
27
- $(BUILD_LIB ) --crate-type=staticlib
28
+ $(BUILD_LIB ) --crate-type=staticlib -o $( TMPDIR ) /liblib.a
28
29
[ " $$ ($( SECTION_HEADERS) $( TMPDIR) /liblib.a | grep -c $( LLVMBC_SECTION_NAME) )" -ne " 0" ]
29
30
30
31
staticlib-fat-lto : lib.rs
@@ -36,7 +37,7 @@ staticlib-thin-lto: lib.rs
36
37
[ " $$ ($( SECTION_HEADERS) $( TMPDIR) /liblib-thin-lto.a | grep -c $( LLVMBC_SECTION_NAME) )" -ne " 0" ]
37
38
38
39
rlib : lib.rs
39
- $(BUILD_LIB ) --crate-type=rlib
40
+ $(BUILD_LIB ) --crate-type=rlib -o $( TMPDIR ) /liblib.rlib
40
41
[ " $$ ($( SECTION_HEADERS) $( TMPDIR) /liblib.rlib | grep -c $( LLVMBC_SECTION_NAME) )" -ne " 0" ]
41
42
42
43
cdylib : lib.rs
You can’t perform that action at this time.
0 commit comments