Skip to content

Commit

Permalink
No std
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashtare committed Aug 6, 2024
1 parent 3c32490 commit c40b91a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plonky2/src/iop/witness.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#[cfg(not(feature = "std"))]
use alloc::{vec, vec::Vec};
use std::iter::zip;
use core::iter::zip;

use anyhow::{anyhow, Result};
use hashbrown::HashMap;
Expand Down
2 changes: 1 addition & 1 deletion starky/src/fibonacci_stark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! to highlight the use of the permutation argument with logUp.
#[cfg(not(feature = "std"))]
use alloc::{vec, vec::Vec};
use alloc::vec::Vec;
use core::marker::PhantomData;

use plonky2::field::extension::{Extendable, FieldExtension};
Expand Down
1 change: 1 addition & 0 deletions starky/src/lookup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use core::borrow::Borrow;
use core::fmt::Debug;
use core::iter::repeat;

#[cfg(feature = "std")]
use itertools::Itertools;
use num_bigint::BigUint;
use plonky2::field::batch_util::{batch_add_inplace, batch_multiply_inplace};
Expand Down
2 changes: 1 addition & 1 deletion starky/src/unconstrained_stark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! a proof of knowledge of the trace)
#[cfg(not(feature = "std"))]
use alloc::{vec, vec::Vec};
use alloc::vec::Vec;
use core::marker::PhantomData;

use plonky2::field::extension::{Extendable, FieldExtension};
Expand Down

0 comments on commit c40b91a

Please sign in to comment.