Skip to content

Commit 0f40e50

Browse files
committed
Disable aux build dylibs
1 parent 5d1f7f4 commit 0f40e50

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

test.sh

+22
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,28 @@ index b75e312d..aef8bc14 100644
7878
test::TestOpts {
7979
+ exclude_should_panic: false,
8080
filter: config.filter.clone(),
81+
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
82+
index bac41a7c57..50acb93010 100644
83+
--- a/src/tools/compiletest/src/runtest.rs
84+
+++ b/src/tools/compiletest/src/runtest.rs
85+
@@ -1598,7 +1598,7 @@ impl<'test> TestCx<'test> {
86+
create_dir_all(aux_cx.output_base_dir()).unwrap();
87+
let mut aux_rustc = aux_cx.make_compile_args(&aux_testpaths.file, aux_output);
88+
89+
- let crate_type = if aux_props.no_prefer_dynamic {
90+
+ let crate_type = if true || aux_props.no_prefer_dynamic {
91+
None
92+
} else if self.config.target.contains("cloudabi")
93+
|| self.config.target.contains("emscripten")
94+
@@ -1822,7 +1822,7 @@ impl<'test> TestCx<'test> {
95+
if self.config.target == "wasm32-unknown-unknown" {
96+
// rustc.arg("-g"); // get any backtrace at all on errors
97+
} else if !self.props.no_prefer_dynamic {
98+
- rustc.args(&["-C", "prefer-dynamic"]);
99+
+ // rustc.args(&["-C", "prefer-dynamic"]);
100+
}
101+
}
102+
81103
--
82104
2.11.0
83105

0 commit comments

Comments
 (0)