polyphony-chat / chorus

A Rust library for interacting with multiple Polyphony- and Spacebar-Compatible instances at once.
https://crates.io/crates/chorus
Mozilla Public License 2.0
16 stars 7 forks source link

Add `#![no_std]` for wasm compilation #461

Open bitfl0wer opened 7 months ago

bitfl0wer commented 7 months ago

stdlib is heavily broken on wasm32-unknown-unknown. Using methods or structs exported by std will mostly not cause compile errors, but will crash when called at runtime. This is the case for almost everything within std, which is why we should seek to forbid std usage on that target.