diff --git a/algebraic/src/lib.rs b/algebraic/src/lib.rs index 80b8d24a..a16fd6ef 100644 --- a/algebraic/src/lib.rs +++ b/algebraic/src/lib.rs @@ -1,6 +1,4 @@ #![allow(clippy::unit_arg)] -#![feature(stdsimd)] -#![feature(const_trait_impl)] #[macro_use] extern crate serde; diff --git a/starky/src/lib.rs b/starky/src/lib.rs index 0c5d8fcd..b9d13604 100644 --- a/starky/src/lib.rs +++ b/starky/src/lib.rs @@ -1,7 +1,5 @@ #![allow(clippy::needless_range_loop)] #![allow(dead_code)] -#![feature(stdsimd)] -#![feature(const_trait_impl)] pub mod polsarray; mod polutils; diff --git a/test/stark_aggregation.sh b/test/stark_aggregation.sh index 79220c26..a1226d00 100755 --- a/test/stark_aggregation.sh +++ b/test/stark_aggregation.sh @@ -1,10 +1,13 @@ #!/bin/bash set -ex -# ## build -# cargo build --release -## build with avx2 feature -RUSTFLAGS="-C target-feature=+avx2" cargo build --release +# build +if [ "x${USE_AVX2}" = "xyes" ]; then + # build with avx2 feature + RUSTFLAGS="-C target-feature=+avx2" cargo build --release +else + cargo build --release +fi export NODE_OPTIONS="--max-old-space-size=81920"