Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita1b5ea0

Browse files
committed
make tidy happy
1 parentf2de5fb commita1b5ea0

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

‎tests/run-make/issue-14500/rmake.rs‎

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,14 @@ use run_make_support::{cc, extra_c_flags, run, rustc};
1313

1414
fnmain(){
1515
let libbar_path =tmp_dir().join("libbar.a");
16-
rustc().input("foo.rs")
17-
.crate_type("rlib")
18-
.run();
19-
rustc().input("bar.rs")
16+
rustc().input("foo.rs").crate_type("rlib").run();
17+
rustc()
18+
.input("bar.rs")
2019
.static_lib("staticlib")
2120
.codegen_option("lto")
2221
.library_search_path(".")
2322
.output(&libbar_path)
2423
.run();
25-
cc().input("foo.c")
26-
.input(libbar_path)
27-
.args(&extra_c_flags())
28-
.out_exe("foo")
29-
.run();
24+
cc().input("foo.c").input(libbar_path).args(&extra_c_flags()).out_exe("foo").run();
3025
run("foo");
3126
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp