Skip to content

thread_id: retrun 0 on unsupported targets#21

Merged
Jake-Shadle merged 1 commit intoEmbarkStudios:mainfrom
fredr:compile-on-wasm
Jan 30, 2026
Merged

thread_id: retrun 0 on unsupported targets#21
Jake-Shadle merged 1 commit intoEmbarkStudios:mainfrom
fredr:compile-on-wasm

Conversation

@fredr
Copy link
Copy Markdown
Contributor

@fredr fredr commented Jan 30, 2026

Checklist

  • I have read the Contributor Guide
  • I have read and agree to the Code of Conduct
  • I have added a description of my changes and why I'd like them included in the section below

Description of Changes

Make the thread_id function return 0 on unsupported platforms so that this crate can be used. The thread_id is off by default anyways. Added a note in the documentation.

Related Issues

@Jake-Shadle Jake-Shadle merged commit eb78aa0 into EmbarkStudios:main Jan 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants