Skip to content

Commit

Permalink
remove prefer-dynamic helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Oneirical committed May 14, 2024
1 parent a64880b commit 9f64368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/run-make/same-lib-two-locations-no-panic/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 9f64368

Please sign in to comment.