diff --git a/lib/codegen/Cargo.toml b/lib/codegen/Cargo.toml index e593e7a448..417fc80bf4 100644 --- a/lib/codegen/Cargo.toml +++ b/lib/codegen/Cargo.toml @@ -26,7 +26,7 @@ target-lexicon = { version = "0.0.1", default-features = false } # of some minimal std-like replacement libraries. At least one of these two # features need to be enabled. default = ["std"] -std = ["cretonne-entity/std"] +std = ["cretonne-entity/std", "target-lexicon/std"] core = ["hashmap_core"] [badges] diff --git a/lib/wasm/Cargo.toml b/lib/wasm/Cargo.toml index 0aff1caa40..650c8a574b 100644 --- a/lib/wasm/Cargo.toml +++ b/lib/wasm/Cargo.toml @@ -22,7 +22,7 @@ wabt = "0.3" [features] default = ["std"] -std = ["cretonne-codegen/std", "cretonne-frontend/std", "wasmparser/std"] +std = ["cretonne-codegen/std", "cretonne-frontend/std", "wasmparser/std", "target-lexicon/std"] core = ["hashmap_core", "cretonne-codegen/core", "cretonne-frontend/core", "wasmparser/core"] [badges]