File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
crates/shielded_token/src/masp/shielded_sync Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -124,9 +124,15 @@ check-crates:
124
124
125
125
clippy-wasm = $(cargo ) +$(nightly ) clippy --manifest-path $(wasm ) /Cargo.toml --all-targets -- -D warnings
126
126
127
- # Need a separate command for benchmarks to prevent the "testing" feature flag from being activated
127
+ # Need a separate command for benchmarks to prevent the "testing"
128
+ # feature flag from being activated. Another special case is the
129
+ # "historic" feature flag present in `namada_shielded_token`.
128
130
clippy :
129
131
$(cargo ) +$(nightly ) clippy $(jobs ) --all-targets --workspace --exclude namada_benchmarks -- -D warnings && \
132
+ $(cargo ) +$(nightly ) clippy $(jobs ) \
133
+ --package namada_shielded_token \
134
+ --features historic \
135
+ -- -D warnings && \
130
136
$(cargo ) +$(nightly ) clippy $(jobs ) --all-targets --package namada_benchmarks -- -D warnings && \
131
137
make -C $(wasms ) clippy && \
132
138
make -C $(wasms_for_tests ) clippy
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ use std::future::Future;
4
4
use std:: ops:: ControlFlow ;
5
5
6
6
#[ cfg( not( target_family = "wasm" ) ) ]
7
+ #[ cfg( feature = "std" ) ]
7
8
use eyre:: eyre;
8
9
use masp_primitives:: sapling:: ViewingKey ;
9
10
use masp_primitives:: sapling:: note_encryption:: {
You can’t perform that action at this time.
0 commit comments