File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,28 @@ index b75e312d..aef8bc14 100644
78
78
test::TestOpts {
79
79
+ exclude_should_panic: false,
80
80
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
+
81
103
--
82
104
2.11.0
83
105
You can’t perform that action at this time.
0 commit comments