Stream: git-wasmtime

Topic: wasmtime / issue #6870 Building Error in the latest Wasmtime


view this post on Zulip Wasmtime GitHub notifications bot (Aug 21 2023 at 15:15):

hungryzzz opened issue #6870:

Hi, I try to build the latest Wasmtime on my local, and I meet the building error as follow,

error: Package `wasmtime v13.0.0 (/home/ringzzz/wasm_runtime/wasmtime/crates/wasmtime)` does not have feature `wasmtime-cranelift`. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.

The building commands are as follow:

git clone git@github.com:bytecodealliance/wasmtime.git
cd wasmtime
git submodule update --init
cargo build --release # raise the building error

Hardware & OS

view this post on Zulip Wasmtime GitHub notifications bot (Aug 21 2023 at 15:17):

bjorn3 commented on issue #6870:

Which rustc version do you use?

view this post on Zulip Wasmtime GitHub notifications bot (Aug 21 2023 at 15:19):

hungryzzz commented on issue #6870:

@bjorn3 rustc 1.67.1 (d5a82bbd2 2023-02-07)

view this post on Zulip Wasmtime GitHub notifications bot (Aug 21 2023 at 15:22):

alexcrichton commented on issue #6870:

I believe you're running into https://github.com/rust-lang/cargo/pull/12130 which was first released in Rust 1.71.0. Locally I see the same error using Rust 1.70 and prior. Are you able to update your rustc version?

view this post on Zulip Wasmtime GitHub notifications bot (Aug 21 2023 at 15:26):

hungryzzz commented on issue #6870:

@alexcrichton Thank you very much, I've updated my rustc and it works now.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 21 2023 at 15:26):

hungryzzz closed issue #6870:

Hi, I try to build the latest Wasmtime on my local, and I meet the building error as follow,

error: Package `wasmtime v13.0.0 (/home/ringzzz/wasm_runtime/wasmtime/crates/wasmtime)` does not have feature `wasmtime-cranelift`. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.

The building commands are as follow:

git clone git@github.com:bytecodealliance/wasmtime.git
cd wasmtime
git submodule update --init
cargo build --release # raise the building error

Hardware & OS


Last updated: Oct 23 2024 at 20:03 UTC