Skip to content

Commit 8c288d8

Browse files
committed
Fix clippy
1 parent 28307fb commit 8c288d8

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

backend/src/lib.rs

+14
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,21 @@ mod plonky3;
77
#[cfg(feature = "stwo")]
88
mod stwo;
99

10+
#[cfg(any(
11+
feature = "halo2",
12+
feature = "estark-polygon",
13+
feature = "estark-starky",
14+
feature = "plonky3",
15+
feature = "stwo"
16+
))]
1017
mod composite;
18+
#[cfg(any(
19+
feature = "halo2",
20+
feature = "estark-polygon",
21+
feature = "estark-starky",
22+
feature = "plonky3",
23+
feature = "stwo"
24+
))]
1125
mod field_filter;
1226
mod mock;
1327

pipeline/src/test_util.rs

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ pub fn asm_string_to_pil<T: FieldElement>(contents: &str) -> Analyzed<T> {
113113
.clone()
114114
}
115115

116+
#[cfg(any(feature = "estark-starky", feature = "halo2", feature = "plonky3"))]
116117
fn should_generate_proofs() -> bool {
117118
match env::var("POWDR_GENERATE_PROOFS") {
118119
Ok(value) => match value.as_str() {

0 commit comments

Comments
 (0)