Skip to content

Commit 079520c

Browse files
authored
Update to use sse2 and remove softfloat ABI (#1)
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
1 parent 1018fa6 commit 079520c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sysroot.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ pub fn build(args: &Args) -> Result<()> {
3333
"pre-link-args": {
3434
"gnu-lld": ["-znostart-stop-gc"],
3535
},
36+
"features": "-mmx,+sse,+sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-avx,-avx2,-soft-float"
3637
}) else {
3738
unreachable!()
3839
};
3940
spec.extend(custom);
41+
spec.remove("rustc-abi");
4042
spec
4143
}
4244
triplet => bail!(

0 commit comments

Comments
 (0)