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:
@@ -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"]
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user