You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, mods made using target wasm32-unknown-unknown cannot call println!. We could use wasm32-wasi instead, but this drastically increases binary size.
Perhaps some kind of #![no_std] support could be added, or a trick for making wasi binaries smaller.
The text was updated successfully, but these errors were encountered:
Currently, mods made using target wasm32-unknown-unknown cannot call println!. We could use wasm32-wasi instead, but this drastically increases binary size.
Perhaps some kind of #![no_std] support could be added, or a trick for making wasi binaries smaller.
Hiii!
Yes, I think we could make a simple stream API (something that for the client side interface/mod interface implements Write trait) and reimplement println!() and print!()
Then on the host the user could log them to something like bevy-console or stdout instead!
Currently, mods made using target
wasm32-unknown-unknown
cannot callprintln!
. We could usewasm32-wasi
instead, but this drastically increases binary size.Perhaps some kind of
#![no_std]
support could be added, or a trick for makingwasi
binaries smaller.The text was updated successfully, but these errors were encountered: