more idiomatic std features

This commit is contained in:
Robert Habermeier
2018-01-30 19:28:57 +01:00
parent a68b187f4d
commit 8e6cb1b6e2
18 changed files with 30 additions and 30 deletions
+2 -2
View File
@@ -16,12 +16,12 @@
//! The Polkadot runtime. This can be compiled with #[no_std], ready for Wasm.
#![cfg_attr(feature = "without-std", no_std)]
#![cfg_attr(not(feature = "std"), no_std)]
#[macro_use]
extern crate runtime_std;
#[cfg(feature = "with-std")]
#[cfg(feature = "std")]
extern crate rustc_hex;
extern crate polkadot_runtime_codec as codec;