Skip to content

Commit

Permalink
ci: 🦀 fix nightly cargo test-all-features
Browse files Browse the repository at this point in the history
example: https://github.com/informalsystems/tendermint-rs/actions/runs/9181862633/job/25249544213?pr=1423

```
 error: unexpected `cfg` condition value: `grpc-client`
 --> proto/src/lib.rs:3:46
  |
3 | #![cfg_attr(not(any(feature = "grpc-server", feature = "grpc-client")), no_std)]
  |                                              ^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: expected values for `feature` are: `default`, `grpc`, `grpc-server`, `tonic`
  = help: consider adding `grpc-client` as a feature in `Cargo.toml`
  = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
```
  • Loading branch information
cratelyn committed May 21, 2024
1 parent 1b219d2 commit 52d4b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proto/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! tendermint-proto library gives the developer access to the Tendermint proto-defined structs.

#![cfg_attr(not(any(feature = "grpc-server", feature = "grpc-client")), no_std)]
#![cfg_attr(not(any(feature = "grpc-server")), no_std)]
#![deny(warnings, trivial_casts, trivial_numeric_casts, unused_import_braces)]
#![allow(clippy::large_enum_variant)]
#![forbid(unsafe_code)]
Expand Down

0 comments on commit 52d4b38

Please sign in to comment.