mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 23:33:07 +00:00
chore: remove conditional compilation for debug_utils (#1540)
* chore: remove conditional compilation for debug_utils * chore: update CHANGELOG
This commit is contained in:
parent
7445ec911b
commit
16746f1ed7
@ -5,5 +5,10 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
Always compile cross_table_lookups::debug_utils ([#1540](https://github.com/0xPolygonZero/plonky2/pull/1540))
|
||||||
|
|
||||||
## [0.2.0] - 2024-02-20
|
## [0.2.0] - 2024-02-20
|
||||||
* Initial CHANGELOG tracking.
|
* Initial CHANGELOG tracking.
|
||||||
|
|||||||
@ -1041,12 +1041,10 @@ pub fn verify_cross_table_lookups_circuit<
|
|||||||
debug_assert!(ctl_zs_openings.iter_mut().all(|iter| iter.next().is_none()));
|
debug_assert!(ctl_zs_openings.iter_mut().all(|iter| iter.next().is_none()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Debugging module, to assert correctness of the different CTLs of a multi-STARK system,
|
/// Debugging module used to assert correctness of the different CTLs of a multi-STARK system,
|
||||||
/// that can be used during the proof generation process.
|
/// that can be used during the proof generation process.
|
||||||
///
|
///
|
||||||
/// **Note**: this is an expensive check, hence is only available when the `debug_assertions`
|
/// **Note**: This is an expensive check.
|
||||||
/// flag is activated, to not hinder performances with regular `release` build.
|
|
||||||
#[cfg(debug_assertions)]
|
|
||||||
pub mod debug_utils {
|
pub mod debug_utils {
|
||||||
#[cfg(not(feature = "std"))]
|
#[cfg(not(feature = "std"))]
|
||||||
use alloc::{vec, vec::Vec};
|
use alloc::{vec, vec::Vec};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user