Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(build): add support for using wasm threads #49

Merged
merged 1 commit into from
Sep 5, 2023
Merged

feat(build): add support for using wasm threads #49

merged 1 commit into from
Sep 5, 2023

Conversation

d3lm
Copy link
Member

@d3lm d3lm commented Sep 5, 2023

This PR adds support for integrating this crate into a multi-threaded application that enables the atomics feature.

@@ -43,6 +43,10 @@ int32_t __imported_wasi_snapshot_preview1_fd_write(int32_t,
__builtin_unreachable();
}

int32_t __imported_wasi_snapshot_preview1_sched_yield() {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed when using wasm32-wasi-threads and it's ok to just noop it.

@anonrig anonrig merged commit a7d58d3 into ada-url:main Sep 5, 2023
6 checks passed
@d3lm d3lm deleted the delm/feat/threads-support branch September 5, 2023 13:46
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.

None yet

2 participants