mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
disable non-commonly used CPU features
This commit is contained in:
@@ -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")']
|
||||
|
||||
Reference in New Issue
Block a user