diff --git a/cranelift/wasm/Cargo.toml b/cranelift/wasm/Cargo.toml index 22952ffa70..ae1a478e5e 100644 --- a/cranelift/wasm/Cargo.toml +++ b/cranelift/wasm/Cargo.toml @@ -24,6 +24,8 @@ thiserror = "1.0.4" [dev-dependencies] wat = "1.0.9" target-lexicon = "0.10" +# Enable the riscv feature for cranelift-codegen, as some tests require it +cranelift-codegen = { path = "../codegen", version = "0.62.0", default-features = false, features = ["riscv"] } [features] default = ["std"]