Skip to content

Commit

Permalink
chore: fix program and permutation trace exports (#887)
Browse files Browse the repository at this point in the history
Co-authored-by: tamirhemo <[email protected]>
  • Loading branch information
tamirhemo and tamirhemo authored Jun 4, 2024
1 parent c929c26 commit 24e0202
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ sp1-zkvm = { path = "../zkvm/entrypoint" }
[features]
debug = []
neon = ["p3-blake3/neon"]
programs = []

[[bench]]
harness = false
Expand Down
2 changes: 1 addition & 1 deletion core/src/stark/permutation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub const fn permutation_trace_width(num_interactions: usize, batch_size: usize)
///
/// The permutation trace has (N+1)*EF::NUM_COLS columns, where N is the number of interactions in
/// the chip.
pub(crate) fn generate_permutation_trace<F: PrimeField, EF: ExtensionField<F>>(
pub fn generate_permutation_trace<F: PrimeField, EF: ExtensionField<F>>(
sends: &[Interaction<F>],
receives: &[Interaction<F>],
preprocessed: Option<&RowMajorMatrix<F>>,
Expand Down
2 changes: 1 addition & 1 deletion core/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub use options::*;
pub use prove::*;
pub use tracer::*;

#[cfg(test)]
#[cfg(any(test, feature = "programs"))]
pub use programs::*;

use crate::{memory::MemoryCols, operations::field::params::Limbs};
Expand Down
1 change: 0 additions & 1 deletion core/src/utils/programs.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#[cfg(test)]
pub mod tests {
/// Demos.
Expand Down

0 comments on commit 24e0202

Please sign in to comment.