Skip to content

Commit a07ce2e

Browse files
committed
fix: missing feature
1 parent feca80a commit a07ce2e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

fields/src/arch/x86_64/avx512_field_gl.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//!
44
//! How to build/run/test:
55
//! RUSTFLAGS='-C target-feature=+avx512f,+avx512bw,+avx512cd,+avx512dq,+avx512vl' cargo build --features "avx512" --release
6-
#![feature(stdarch_x86_avx512)]
6+
#![cfg_attr(feature = "avx512", feature(stdarch_x86_avx512))]
77
use crate::ff::*;
88
use crate::field_gl::{Fr, FrRepr as GoldilocksField};
99
use crate::packed::PackedField;

recursion/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ wasm-bindgen-test = "0.3"
5454
[features]
5555
default = ["franklin-crypto/multicore", "wasmer/default", "starky/default", "plonky/default"]
5656
wasm = ["wasmer/js-default"]
57-
avx512 = ["fields/avx512"]
57+
avx512 = ["fields/avx512", "starky/avx512", "plonky/avx512", "powdr/starky-avx512"]

starky/src/f3g.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use core::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Sub, SubAss
44
use fields::field_gl::Fr;
55
use fields::Field;
66
use std::hash::{Hash, Hasher};
7-
use std::{slice, usize};
7+
use std::slice;
88

99
use core::fmt::{Display, Formatter};
1010
/// GF(2^3) implementation

zkit/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ anyhow = { version = "1.0", default-features = false }
2828
[features]
2929
default = []
3030
profiler = ["plonky/profiler", "starky/profiler", "groth16/profiler"]
31-
avx512 = ["starky/avx512"]
31+
avx512 = ["starky/avx512", "recursion/avx512"]

0 commit comments

Comments
 (0)