Closed johnnymatthews closed 2 months ago
mmm I just ran it and it worked, what branch you on? also is the branch up to date, also I mean did you accidentally edit the wit file?
rustc 1.77.2 (25ef9e3d8 2024-04-09)
cargo-component 0.2.0 (wasi:aec4b25)
cargo generate 0.20.0
wasm-tools 1.0.54
wow Im hella older versions then you
[...] README on the
master
branch:
Nah, not edited anything else. Literally just cloned the repo, installed the deps, and ran the cargo component build --release -p template-barebones --target wasm32-unknown-unknown
command. Feels like I'm missing some other deps, or I need a specific version of something.
hmmm wanna downgrade your cargo component version, an updated wit parser can have error similar to this https://github.com/bytecodealliance/wasmtime/issues/5833
Alright nice, downgrading to cargo-component 0.2.0
did the trick. I'll make a PR to update the README.
much love good find
Ran into the following error when trying to build the Basic length-check program found in this project's README on the
master
branch:I've verified I've got all the pre-requisites listed at the start of the README: