Skip to content

Commit 93ab354

Browse files
eduardosmAmanieu
authored andcommitted
Explicitly disable SSE3 for x86_64
1 parent d9a3ef2 commit 93ab354

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ci/run.sh

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ case ${TARGET} in
3333
i686-* | i586-*)
3434
export RUSTFLAGS="${RUSTFLAGS} -C relocation-model=static -Z plt=yes"
3535
;;
36+
# Some x86_64 targets enable by default more features beyond SSE2,
37+
# which cause some instruction assertion checks to fail.
38+
x86_64-*)
39+
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=-sse3"
40+
;;
3641
#Unoptimized build uses fast-isel which breaks with msa
3742
mips-* | mipsel-*)
3843
export RUSTFLAGS="${RUSTFLAGS} -C llvm-args=-fast-isel=false"

0 commit comments

Comments
 (0)