File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 63
63
echo "#![no_std]" > ./ci-build/src/lib.rs
64
64
- name : Add dependencies of the synthetic crate (e.g. sapling-crypto)
65
65
working-directory : ./ci-build
66
- run : cargo add --no-default-features --path ../crate_root
66
+ run : cargo add --no-default-features --features "circuit" -- path ../crate_root
67
67
- name : Add lazy_static with the spin_no_std feature
68
68
working-directory : ./ci-build
69
69
run : cargo add lazy_static --no-default-features --features "spin_no_std"
Original file line number Diff line number Diff line change 43
43
echo "#![no_std]" > ./ci-build/src/lib.rs
44
44
- name : Add dependencies of the synthetic crate (e.g. sapling-crypto)
45
45
working-directory : ./ci-build
46
- run : cargo add --no-default-features --path ../crate_root
46
+ run : cargo add --no-default-features --features "circuit" -- path ../crate_root
47
47
- name : Add lazy_static with the spin_no_std feature
48
48
working-directory : ./ci-build
49
49
run : cargo add lazy_static --no-default-features --features "spin_no_std"
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ bench = false
83
83
[features ]
84
84
default = [" circuit" , " multicore" , " std" ]
85
85
std = [" core2/std" , " group/wnaf-memuse" , " reddsa/std" ]
86
- circuit = [" dep:halo2_gadgets" , " dep:halo2_proofs" , " std " ]
86
+ circuit = [" dep:halo2_gadgets" , " dep:halo2_proofs" ]
87
87
unstable-frost = []
88
88
multicore = [" halo2_proofs?/multicore" ]
89
89
dev-graph = [" halo2_proofs?/dev-graph" , " image" , " plotters" ]
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ use alloc::vec::Vec;
4
4
5
5
pub mod commitments;
6
6
7
- #[ cfg( feature = "circuit" ) ]
7
+ #[ cfg( all ( feature = "circuit" , feature = "std" ) ) ]
8
8
mod batch;
9
- #[ cfg( feature = "circuit" ) ]
9
+ #[ cfg( all ( feature = "circuit" , feature = "std" ) ) ]
10
10
pub use batch:: BatchValidator ;
11
11
12
12
use core:: fmt;
You can’t perform that action at this time.
0 commit comments