Skip to content

Commit 1ec53f7

Browse files
committed
fix the build
1 parent 1236ff3 commit 1ec53f7

File tree

1 file changed

+2
-2
lines changed
  • tests/run-make/reachable-extern-fn-available-lto

1 file changed

+2
-2
lines changed

tests/run-make/reachable-extern-fn-available-lto/rmake.rs

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

1010
//@ ignore-cross-compile
1111

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

1414
fn main() {
1515
let libbar_path = static_lib("bar");
1616
rustc().input("foo.rs").crate_type("rlib").run();
1717
rustc()
1818
.input("bar.rs")
1919
.crate_type("staticlib")
20-
.lto()
20+
.arg("-Clto")
2121
.library_search_path(".")
2222
.output(&libbar_path)
2323
.run();

0 commit comments

Comments
 (0)