From a1b5ea0cc220d11b831f49a92c2e37b31ae928d3 Mon Sep 17 00:00:00 2001 From: Oneirical Date: Sun, 12 May 2024 14:13:02 -0400 Subject: [PATCH] make tidy happy --- tests/run-make/issue-14500/rmake.rs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/tests/run-make/issue-14500/rmake.rs b/tests/run-make/issue-14500/rmake.rs index 58c6bc9ebb3a4..956d66ba88f22 100644 --- a/tests/run-make/issue-14500/rmake.rs +++ b/tests/run-make/issue-14500/rmake.rs @@ -13,19 +13,14 @@ use run_make_support::{cc, extra_c_flags, run, rustc}; fn main() { let libbar_path = tmp_dir().join("libbar.a"); - rustc().input("foo.rs") - .crate_type("rlib") - .run(); - rustc().input("bar.rs") + rustc().input("foo.rs").crate_type("rlib").run(); + rustc() + .input("bar.rs") .static_lib("staticlib") .codegen_option("lto") .library_search_path(".") .output(&libbar_path) .run(); - cc().input("foo.c") - .input(libbar_path) - .args(&extra_c_flags()) - .out_exe("foo") - .run(); + cc().input("foo.c").input(libbar_path).args(&extra_c_flags()).out_exe("foo").run(); run("foo"); }