X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning%2Fsrc%2Flib.rs;fp=lightning%2Fsrc%2Flib.rs;h=e6ecd1f3563c6a312a5e22ffe017a7ea011d7186;hb=32d13a2ff8796c2edf2177751eab02242ae10216;hp=e1ae9433e23495c70bb0db99953debf0b4104e8d;hpb=0dfcacd22c23f69b6526c9c6507d21427a2b7ccb;p=rust-lightning diff --git a/lightning/src/lib.rs b/lightning/src/lib.rs index e1ae9433..e6ecd1f3 100644 --- a/lightning/src/lib.rs +++ b/lightning/src/lib.rs @@ -33,8 +33,8 @@ #![cfg_attr(all(any(test, feature = "_test_utils"), feature = "unstable"), feature(test))] #[cfg(all(any(test, feature = "_test_utils"), feature = "unstable"))] extern crate test; -#[cfg(not(any(feature = "std", feature = "no_std")))] -compile_error!("at least one of the `std` or `no_std` features must be enabled"); +#[cfg(not(any(feature = "std", feature = "no-std")))] +compile_error!("at least one of the `std` or `no-std` features must be enabled"); #[macro_use] extern crate alloc;