Open matsbror opened 2 months ago
I think this is due to a mismatch between the versions of cargo-component and wit-bindgen in use. I've now filed https://github.com/sunfishcode/hello-wasi-http/pull/12 to update the repo to wit-bindgen 0.24 which works with the current cargo-component.
I am on cargo/rust v 1.77.2
When building the example with wit-bindgen v 0.21 as from the repo the following error appears:
The same error happens with wit-bindgen v 0.22 but not with v0.23 or 0.24. I can then build without errors.