Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 91a3f04

Browse files
committedMay 15, 2024
fix the test
1 parent b1e5e51 commit 91a3f04

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎tests/run-make/c-link-to-rust-staticlib/rmake.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ use std::fs;
88

99
fn main() {
1010
rustc().input("foo.rs").run();
11-
cc().input("bar.c")
12-
.input(static_lib("foo"))
13-
.out_exe("bar")
14-
.args(&extra_c_flags())
15-
.run();
11+
cc().input("bar.c").input(static_lib("foo")).out_exe("bar").args(&extra_c_flags()).run();
1612
run("bar");
1713
fs::remove_file(static_lib("foo"));
1814
run("bar");

0 commit comments

Comments
 (0)
Failed to load comments.