Skip to content

Commit

Permalink
fix: missing feature
Browse files Browse the repository at this point in the history
  • Loading branch information
eigmax committed Apr 12, 2024
1 parent feca80a commit 6f52173
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fields/src/arch/x86_64/avx512_field_gl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//!
//! How to build/run/test:
//! RUSTFLAGS='-C target-feature=+avx512f,+avx512bw,+avx512cd,+avx512dq,+avx512vl' cargo build --features "avx512" --release
#![feature(stdarch_x86_avx512)]
#![cfg_attr(feature = "avx512", feature(stdarch_x86_avx512))]
use crate::ff::*;
use crate::field_gl::{Fr, FrRepr as GoldilocksField};
use crate::packed::PackedField;
Expand Down
3 changes: 2 additions & 1 deletion recursion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ wasm-bindgen-test = "0.3"
[features]
default = ["franklin-crypto/multicore", "wasmer/default", "starky/default", "plonky/default"]
wasm = ["wasmer/js-default"]
avx512 = ["fields/avx512"]
#avx512 = ["fields/avx512", "starky/avx512", "plonky/avx512", "powdr/starky-avx512"]
avx512 = ["fields/avx512", "starky/avx512", "plonky/avx512"]
2 changes: 1 addition & 1 deletion starky/src/f3g.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use core::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Sub, SubAss
use fields::field_gl::Fr;
use fields::Field;
use std::hash::{Hash, Hasher};
use std::{slice, usize};
use std::slice;

use core::fmt::{Display, Formatter};
/// GF(2^3) implementation
Expand Down
2 changes: 1 addition & 1 deletion zkit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ anyhow = { version = "1.0", default-features = false }
[features]
default = []
profiler = ["plonky/profiler", "starky/profiler", "groth16/profiler"]
avx512 = ["starky/avx512"]
avx512 = ["starky/avx512", "recursion/avx512"]

0 comments on commit 6f52173

Please sign in to comment.