-
Notifications
You must be signed in to change notification settings - Fork 63
replacing u32 -> string in adder tutorial example #151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @dmk978 these dependencies are included because of Rust unwind/panic/stack unwind capability. If you'd like to avoid them, you can do one of at least two things:
IIRC @kate-goldenring I think this should be closable! |
Ah, see also this discussion on Zulip which has come up a bit: #wit-bindgen > How to identify source of WASI imports? @ 💬 |
Hey @kate-goldenring can we close this in favor of #120 ? My thought here is that this individual issue is solved, but we should definitely include it in the FAQ (it's quite Rust specific, but the question of "where did all these extra imports come from" is valid across languages). |
Let's try mentioned example for use with string, that's absolute straightforward. Component compiles well, but issuing
wasm-tools component wit target/wasm32-wasip1/release/adder.wasm
command produce really big file filled with a lot of imports and references to standard WASI worlds:
and that continues for several screens. Why?
The text was updated successfully, but these errors were encountered: