ifsheldon opened issue #11091:
I think this breaking change from #10770 should've broken some examples in CI like https://github.com/bytecodealliance/wasmtime/tree/main/examples/wasip2-async and https://github.com/bytecodealliance/wasmtime/tree/main/examples/wasip2 but these were not checked in CI. Probably we should fix this problem by adding these examples in here?
https://github.com/bytecodealliance/wasmtime/blob/a7d9f3e114fc74889000aeb2c136e9dfd5c374be/Cargo.toml#L147cc @alexcrichton
alexcrichton commented on issue #11091:
Oops yes that's a mistake, we should build these on CI!
alexcrichton commented on issue #11091:
Hm actually, can you clarify what is broken? Both examples work fine for me on main?
ifsheldon commented on issue #11091:
Sorry. #10770 broke my example code in https://github.com/ifsheldon/wasi_mindmap, so I thought it should have broken similar code in wasmtime/examples, but it turns out the
wasmtime/examples/wasip2-asyncandwasmtime/examples/wasip2are too trivial to be affected, since they don't need autogeneratedadd_to_linkerfunction frombindgen!.I can add one more example to
examplesthat is more complicated and is indeed affected by #10770 if you like.When I checked which examples are run in CI, I did find a minor bug (#11116) related to this issue.
alexcrichton commented on issue #11091:
Examples are always welcome! Definitely feel free to PR one if you'd like
alexcrichton closed issue #11091:
I think this breaking change from #10770 should've broken some examples in CI like https://github.com/bytecodealliance/wasmtime/tree/main/examples/wasip2-async and https://github.com/bytecodealliance/wasmtime/tree/main/examples/wasip2 but these were not checked in CI. Probably we should fix this problem by adding these examples in here?
https://github.com/bytecodealliance/wasmtime/blob/a7d9f3e114fc74889000aeb2c136e9dfd5c374be/Cargo.toml#L147cc @alexcrichton
Last updated: Dec 06 2025 at 07:03 UTC