From 9f6436870b3afb1c5fb0c2e446b2e5a2dbf0079a Mon Sep 17 00:00:00 2001 From: Oneirical Date: Tue, 14 May 2024 16:51:39 -0400 Subject: [PATCH] remove prefer-dynamic helper --- tests/run-make/same-lib-two-locations-no-panic/rmake.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run-make/same-lib-two-locations-no-panic/rmake.rs b/tests/run-make/same-lib-two-locations-no-panic/rmake.rs index 04a569c207eda..2900c3c8b749c 100644 --- a/tests/run-make/same-lib-two-locations-no-panic/rmake.rs +++ b/tests/run-make/same-lib-two-locations-no-panic/rmake.rs @@ -14,9 +14,9 @@ fn main() { let tmp_dir_other = tmp_dir().join("other"); fs::create_dir(&tmp_dir_other); - rustc().input("foo.rs").crate_type("dylib").prefer_dynamic().run(); + rustc().input("foo.rs").crate_type("dylib").arg("-Cprefer-dynamic").run(); fs::rename(dynamic_lib("foo"), &tmp_dir_other); - rustc().input("foo.rs").crate_type("dylib").prefer_dynamic().run(); + rustc().input("foo.rs").crate_type("dylib").arg("-Cprefer-dynamic").run(); rustc().input("bar.rs").library_search_path(&tmp_dir_other).run(); fs::remove_dir_all(tmp_dir());