mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-07 00:03:10 +00:00
allow 'unused' functions
This commit is contained in:
parent
d2eb3b141b
commit
9f22cc72c3
@ -1,3 +1,5 @@
|
||||
#![allow(dead_code)]
|
||||
|
||||
use std::ops::Range;
|
||||
|
||||
/// Filter. 1 if the row is part of bootstrapping the kernel code, 0 otherwise.
|
||||
|
||||
@ -48,6 +48,7 @@ pub(crate) const COUNTER_PERMUTED: usize = RANGE_CHECK_PERMUTED + 1;
|
||||
// Flags to indicate if this operation corresponds to the `i`th memory op in a certain row of the
|
||||
// CPU table.
|
||||
const IS_MEMOP_START: usize = COUNTER_PERMUTED + 1;
|
||||
#[allow(dead_code)]
|
||||
pub(crate) const fn is_memop(i: usize) -> usize {
|
||||
debug_assert!(i < NUM_MEMORY_OPS);
|
||||
IS_MEMOP_START + i
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user