ashtonmeuser / godot-wasm

Interact with WebAssembly modules from Godot
https://github.com/ashtonmeuser/godot-wasm/wiki
MIT License
197 stars 12 forks source link

Support WASI output #37

Closed ashtonmeuser closed 1 year ago

ashtonmeuser commented 1 year ago

Automatically provide "wasi_snapshot_preview1"."fd_write": [I32, I32, I32, I32] -> [I32] import that uses Godot's print().

The most basic WASI binding that's typically used for logging and reporting errors as in the following examples.

ashtonmeuser commented 1 year ago

Closed in v0.2.1.