mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-07 12:31:56 +00:00
e476aba94f
On the web target the smlib build compiles SMLib for wasm32-wasip1 with wasi-sdk's clang (WASI_SDK_PATH), with wasm exceptions in the exnref encoding that wasi-sdk's libc++ and Rust use, and links wasi-sdk's libc++, libc++abi, libunwind and libc. The WASI calls libc makes are defined in ffi.rs: stdout and stderr go to the log, the clocks are the page's (the C API times every call), and there is no file system or environment. solidcraft-web gets an smlib feature, off until CI has wasi-sdk. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HoZgkCdAVrscuw2kjQTWDs