We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5c14e3d + 9bb6e07 commit afc93a9Copy full SHA for afc93a9
src/tools/compiletest/src/runtest/run_make.rs
@@ -329,6 +329,7 @@ impl TestCx<'_> {
329
.arg(format!("run_make_support={}", &support_lib_path.to_string_lossy()))
330
.arg("--edition=2021")
331
.arg(&self.testpaths.file.join("rmake.rs"))
332
+ .arg("-Cprefer-dynamic")
333
// Provide necessary library search paths for rustc.
334
.env(dylib_env_var(), &env::join_paths(host_dylib_search_paths).unwrap());
335
src/tools/run-make-support/Cargo.toml
@@ -13,3 +13,6 @@ gimli = "0.31.0"
13
build_helper = { path = "../build_helper" }
14
serde_json = "1.0"
15
libc = "0.2"
16
+
17
+[lib]
18
+crate-type = ["lib", "dylib"]
0 commit comments