Skip to content

Commit 8b11468

Browse files
committed
Workaround portable-simd examples compilation failure
1 parent 0ac38e3 commit 8b11468

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build_system/tests.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,13 +209,15 @@ const EXTENDED_SYSROOT_SUITE: &[TestCase] = &[
209209

210210
PORTABLE_SIMD.clean(&runner.dirs);
211211

212-
let mut build_cmd = PORTABLE_SIMD.build(&runner.target_compiler, &runner.dirs);
213-
build_cmd.arg("--all-targets");
212+
let build_cmd = PORTABLE_SIMD.build(&runner.target_compiler, &runner.dirs);
213+
// FIXME uncomment once examples work: https://github.com/rust-lang/portable-simd/issues/470
214+
//build_cmd.arg("--all-targets");
214215
spawn_and_wait(build_cmd);
215216

216217
if runner.is_native {
217218
let mut test_cmd = PORTABLE_SIMD.test(&runner.target_compiler, &runner.dirs);
218-
test_cmd.arg("-q");
219+
// FIXME remove --tests once examples work: https://github.com/rust-lang/portable-simd/issues/470
220+
test_cmd.arg("-q").arg("--tests");
219221
spawn_and_wait(test_cmd);
220222
}
221223
}),

0 commit comments

Comments
 (0)