disable non-commonly used CPU features

This commit is contained in:
zonyitoo
2020-12-31 21:09:02 +08:00
parent 9abf3847c1
commit 04791a5d85

View File

@@ -7,7 +7,7 @@ rustflags = [
rustflags = [
# "--print", "native-static-libs",
# "-C", "target-cpu=native",
"-C", "target-feature=+aes,+pclmul,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+avx,+avx2,+fma,adx",
"-C", "target-feature=+aes,+pclmul,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+avx",
]
[target.'cfg(target_arch = "x86")']