Files
figcraft/crates/engine
Trevor BrownandClaude Fable 5.1 7bee269c4d M8: posting a comment in the browser no longer stops the app (#1764)
The event log read the clock through std::time::SystemTime and Instant, which panic on wasm32-unknown-unknown ("time not implemented on this platform"). Every mutating comment.* command appends an event, so the first comment posted in the web build hit it. The log now takes SystemTime, UNIX_EPOCH and Instant from web_time, as the rest of the engine does. A test checks the stamp is a current Unix time read through the same clock.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-31 10:58:09 -04:00
..