Skip to content

Conversation

d3lm
Copy link
Contributor

@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
Contributor 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
@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.

2 participants