fix the test
This commit is contained in:
parent
b1e5e5161a
commit
91a3f04a3f
1 changed files with 1 additions and 5 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue