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
- Ubuntu 20.04
- CPU: Intel(R) Core(TM) i5-9500T CPU @ 2.20GHz
bjorn3 commented on issue #6870:
Which rustc version do you use?
hungryzzz commented on issue #6870:
@bjorn3 rustc 1.67.1 (d5a82bbd2 2023-02-07)
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?
hungryzzz commented on issue #6870:
@alexcrichton Thank you very much, I've updated my rustc and it works now.
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
- Ubuntu 20.04
- CPU: Intel(R) Core(TM) i5-9500T CPU @ 2.20GHz
Last updated: Dec 23 2024 at 12:05 UTC