Skip to content

Commit 0c15c01

Browse files
committed
Use fuzzing not feature = "fuzzing"
Currently the following command fails `RUSTFLAGS='--cfg=fuzzing' RUSTDOCFLAGS='--cfg=fuzzing' cargo test --all --all-features` This is because `fuzzing` is not a feature, we should be using `fuzzing` directly not `feature = "fuzzing"`. I have no idea how this got past CI.
1 parent e8454cd commit 0c15c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub const ONE_KEY: SecretKey = SecretKey([0, 0, 0, 0, 0, 0, 0, 0,
101101
/// [`bincode`]: https://docs.rs/bincode
102102
/// [`cbor`]: https://docs.rs/cbor
103103
#[derive(Copy, Clone, PartialEq, Eq, Debug, Hash)]
104-
#[cfg_attr(feature = "fuzzing", derive(PartialOrd, Ord))]
104+
#[cfg_attr(fuzzing, derive(PartialOrd, Ord))]
105105
#[repr(transparent)]
106106
pub struct PublicKey(ffi::PublicKey);
107107

0 commit comments

Comments
 (0)