diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d8d4ff2f..39d11e851 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ concurrency: env: CARGO_TERM_COLOR: always - RUSTFLAGS: "-C target-feature=+aes,+vaes,+avx2" + RUSTFLAGS: "-C target-feature=+aes,+vaes,+avx2,+mmx,+sse4.2,+sse4a,ssse3,+bmi2,+fma,+rdrand,+sha,+adx,+f16c" jobs: lint: diff --git a/build/build-image/Dockerfile b/build/build-image/Dockerfile index 5f00d6e09..ceffd80bd 100644 --- a/build/build-image/Dockerfile +++ b/build/build-image/Dockerfile @@ -20,7 +20,7 @@ ENV RUSTUP_HOME=/usr/local/rustup \ CARGO_HOME=/usr/local/cargo \ PATH=/usr/local/cargo/bin:$PATH \ CARGO_TERM_COLOR=always \ - RUSTFLAGS="-C target-feature=+aes,+vaes,+avx2" \ + RUSTFLAGS="-C target-feature=+aes,+vaes,+avx2,+mmx,+sse4.2,+sse4a,ssse3,+bmi2,+fma" \ LC_ALL=C.UTF-8 \ LANG=C.UTF-8