From 91a3f04a3f9d6927e09c5ca6e57d337255cf1886 Mon Sep 17 00:00:00 2001 From: Oneirical Date: Tue, 14 May 2024 20:06:23 -0400 Subject: [PATCH] fix the test --- tests/run-make/c-link-to-rust-staticlib/rmake.rs | 6 +----- 1 file changed, 1 insertion(+), 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 762d7953a9a0f..63d5eb78c6987 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");