Skip to content

Commit

Permalink
fix function call and import
Browse files Browse the repository at this point in the history
  • Loading branch information
Oneirical committed May 12, 2024
1 parent a1b5ea0 commit 71fd2cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/run-make/issue-14500/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

//@ ignore-cross-compile

use run_make_support::{cc, extra_c_flags, run, rustc};
use run_make_support::{cc, extra_c_flags, run, rustc, tmp_dir};

fn main() {
let libbar_path = tmp_dir().join("libbar.a");
rustc().input("foo.rs").crate_type("rlib").run();
rustc()
.input("bar.rs")
.static_lib("staticlib")
.crate_type("staticlib")
.codegen_option("lto")
.library_search_path(".")
.output(&libbar_path)
Expand Down

0 comments on commit 71fd2cf

Please sign in to comment.