Stream: general

Topic: building the source


view this post on Zulip Lucien Loiseau (Jun 09 2023 at 15:16):

Hi, I would like to build the project from the source but have no experience in rust. My goal is to build an so file for the armv8 architecture (targetting Android device). However cargo build gives me an error even though I just cloned the project:

error: failed to parse manifest at `/code/wasmtime/Cargo.toml`

Caused by:
  invalid type: map, expected a sequence for key `package.authors`

view this post on Zulip Dan Gohman (Jun 09 2023 at 15:20):

What version of Rust are you compiling with? (cargo --version)

view this post on Zulip Lucien Loiseau (Jun 09 2023 at 15:22):

cargo 1.57.0 (b2e52d7ca 2021-10-21)

view this post on Zulip Dan Gohman (Jun 09 2023 at 15:25):

It looks like Wasmtime currently requires 1.66 or later.

view this post on Zulip Lucien Loiseau (Jun 09 2023 at 15:30):

indeed, it works now, thanks a lot @Dan Gohman !


Last updated: Nov 22 2024 at 17:03 UTC