Skip to content

Commit 9f64368

Browse files
committed
remove prefer-dynamic helper
1 parent a64880b commit 9f64368

File tree

1 file changed

+2
-2
lines changed
  • tests/run-make/same-lib-two-locations-no-panic

1 file changed

+2
-2
lines changed

tests/run-make/same-lib-two-locations-no-panic/rmake.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ fn main() {
1414
let tmp_dir_other = tmp_dir().join("other");
1515

1616
fs::create_dir(&tmp_dir_other);
17-
rustc().input("foo.rs").crate_type("dylib").prefer_dynamic().run();
17+
rustc().input("foo.rs").crate_type("dylib").arg("-Cprefer-dynamic").run();
1818
fs::rename(dynamic_lib("foo"), &tmp_dir_other);
19-
rustc().input("foo.rs").crate_type("dylib").prefer_dynamic().run();
19+
rustc().input("foo.rs").crate_type("dylib").arg("-Cprefer-dynamic").run();
2020
rustc().input("bar.rs").library_search_path(&tmp_dir_other).run();
2121
fs::remove_dir_all(tmp_dir());
2222

0 commit comments

Comments
 (0)