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

Testing wasm ci [DONT MERGE] #459

Closed kozabrada123 closed 7 months ago

kozabrada123 commented 7 months ago

[DO NOT MERGE]

kozabrada123 commented 7 months ago

To note:

The expected output (the one on Linux x86):

HBH: Creating new self
HBH: Spawned task
HBH: Running task
HBH: Initialized variables
HBH: L0
HBH: L1
HBH: L2
HBH: L0
HBH: L1
HBH: L2
HBH: L0
HBH: L1
HBH: L2
...

vs the one on WASM:

HBH: Creating new self
HBH: Spawned task
HBH: Running task

Note that between HBH: Running task and HBH: Initialized variables lies the call to Instant::now, which crashes the WASM heartbeat task