diff options
| author | Oneirical <manchot@videotron.ca> | 2024-05-12 15:02:22 -0400 |
|---|---|---|
| committer | Oneirical <manchot@videotron.ca> | 2024-05-12 15:02:22 -0400 |
| commit | 71fd2cf5b44441c91673e90414d1e445d8de1922 (patch) | |
| tree | 2c6c5fc084cf606c8c31d35f340eb5b9d193fbed | |
| parent | a1b5ea0cc220d11b831f49a92c2e37b31ae928d3 (diff) | |
| download | rust-71fd2cf5b44441c91673e90414d1e445d8de1922.tar.gz rust-71fd2cf5b44441c91673e90414d1e445d8de1922.zip | |
fix function call and import
| -rw-r--r-- | tests/run-make/issue-14500/rmake.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-make/issue-14500/rmake.rs b/tests/run-make/issue-14500/rmake.rs index 956d66ba88f..58f632e5909 100644 --- a/tests/run-make/issue-14500/rmake.rs +++ b/tests/run-make/issue-14500/rmake.rs @@ -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) |
