Skip to content

Building Error in the latest Wasmtime #6870

Closed
@hungryzzz

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions