Skip to content

Commit 71fd2cf

Browse files
committed
fix function call and import
1 parent a1b5ea0 commit 71fd2cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-make/issue-14500/rmake.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99

1010
//@ ignore-cross-compile
1111

12-
use run_make_support::{cc, extra_c_flags, run, rustc};
12+
use run_make_support::{cc, extra_c_flags, run, rustc, tmp_dir};
1313

1414
fn main() {
1515
let libbar_path = tmp_dir().join("libbar.a");
1616
rustc().input("foo.rs").crate_type("rlib").run();
1717
rustc()
1818
.input("bar.rs")
19-
.static_lib("staticlib")
19+
.crate_type("staticlib")
2020
.codegen_option("lto")
2121
.library_search_path(".")
2222
.output(&libbar_path)

0 commit comments

Comments
 (0)