Skip to content

Commit

Permalink
doc: document main thread requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenesvk committed Dec 9, 2024
1 parent 6d41a39 commit 934e93c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ See [Full Documentation](https://docs.rs/osakit/).

Due to limitations on `OSAKit Framework`-side integer values returned from `JavaScript` code
are limited to `i32` type.
`OSAKit` calls must be made from the main thread, so, for example, the default `cargo test`s can fail,
after stalling for 2 min, use a custom test harness like [libtest-mimic](https://github.com/LukasKalbertodt/libtest-mimic) with `--test-threads=1`.

## Supported platforms

Expand Down

0 comments on commit 934e93c

Please sign in to comment.