[wasm] Add the ability to provide a user-defined error;

This commit is contained in:
Benjamin Bouvier
2019-04-29 11:34:45 +02:00
parent 02e114cf3d
commit 3ce5d2057d
2 changed files with 14 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ target-lexicon = "0.4.0"
[features]
default = ["std"]
std = ["cranelift-codegen/std", "cranelift-frontend/std", "wasmparser/std"]
std = ["cranelift-codegen/std", "cranelift-frontend/std", "wasmparser/std", "failure/std"]
core = ["hashmap_core", "cranelift-codegen/core", "cranelift-frontend/core", "wasmparser/core"]
[badges]