chore: remove conditional compilation for debug_utils (#1540)

* chore: remove conditional compilation for debug_utils

* chore: update CHANGELOG
This commit is contained in:
David 2024-02-23 15:39:10 +01:00 committed by GitHub
parent 7445ec911b
commit 16746f1ed7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -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/),
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
* Initial CHANGELOG tracking.

View File

@ -1041,12 +1041,10 @@ pub fn verify_cross_table_lookups_circuit<
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.
///
/// **Note**: this is an expensive check, hence is only available when the `debug_assertions`
/// flag is activated, to not hinder performances with regular `release` build.
#[cfg(debug_assertions)]
/// **Note**: This is an expensive check.
pub mod debug_utils {
#[cfg(not(feature = "std"))]
use alloc::{vec, vec::Vec};