Rename the no_std feature to core.

See
https://github.com/yurydelendik/wasmparser.rs/pull/49#issuecomment-375436225
for more details.
This commit is contained in:
Dan Gohman
2018-03-22 13:43:06 -07:00
parent aaf0def241
commit fc7b0a7e51
12 changed files with 48 additions and 48 deletions

View File

@@ -26,4 +26,4 @@ tempdir = "0.3.5"
[features]
default = ["std"]
std = ["cretonne/std", "cretonne-frontend/std"]
no_std = ["hashmap_core", "cretonne/no_std", "cretonne-frontend/no_std"]
core = ["hashmap_core", "cretonne/core", "cretonne-frontend/core"]

View File

@@ -21,7 +21,7 @@
extern crate alloc;
#[allow(unused_extern_crates)]
#[cfg(feature = "no_std")]
#[cfg(not(feature = "std"))]
extern crate hashmap_core;
extern crate wasmparser;