diff options
| author | Oneirical <manchot@videotron.ca> | 2024-05-14 20:06:23 -0400 |
|---|---|---|
| committer | Oneirical <manchot@videotron.ca> | 2024-05-14 20:06:23 -0400 |
| commit | 91a3f04a3f9d6927e09c5ca6e57d337255cf1886 (patch) | |
| tree | 7d44c17924cc3ec3f9bccd21f84d9e09f0c4d6e2 | |
| parent | b1e5e5161a2ef27852aab40cf3472187bdda5fee (diff) | |
| download | rust-91a3f04a3f9d6927e09c5ca6e57d337255cf1886.tar.gz rust-91a3f04a3f9d6927e09c5ca6e57d337255cf1886.zip | |
fix the test
| -rw-r--r-- | tests/run-make/c-link-to-rust-staticlib/rmake.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/run-make/c-link-to-rust-staticlib/rmake.rs b/tests/run-make/c-link-to-rust-staticlib/rmake.rs index 762d7953a9a..63d5eb78c69 100644 --- a/tests/run-make/c-link-to-rust-staticlib/rmake.rs +++ b/tests/run-make/c-link-to-rust-staticlib/rmake.rs @@ -8,11 +8,7 @@ use std::fs; fn main() { rustc().input("foo.rs").run(); - cc().input("bar.c") - .input(static_lib("foo")) - .out_exe("bar") - .args(&extra_c_flags()) - .run(); + cc().input("bar.c").input(static_lib("foo")).out_exe("bar").args(&extra_c_flags()).run(); run("bar"); fs::remove_file(static_lib("foo")); run("bar"); |
