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

wasix: Remove Legacy thread-local System #3877

Closed
wants to merge 3 commits into from

Conversation

theduke
Copy link
Contributor

@theduke theduke commented May 18, 2023

Remove deprecated thread_local functionality

thread_local support in wasix was previously implemented via custom
exports provided to modules.

This has been refactored to a more efficient (guest-internal)
implementation in both the wasix libc and the Rust fork.

We kept the exports and related functionality in for a while to allow for
modules to update, but now all the related code can safely be removed.

Closes #3699

thread_local support in wasix was previously implemented via custom
exports provided to modules.

This has been refactored to a more efficient (guest-internal)
implementation in both the wasix libc and the Rust fork.

We kept the exports and related functionality in for a while to allow for
modules to update, but now all the related functionality can safely be
removed.

Closes #3699
wasm-bus functionality was removed quite some time ago.
@theduke
Copy link
Contributor Author

theduke commented May 18, 2023

@dynamite-bud this is also relevant for you - you can remove the documentation for all the thread-local-* exports.

@theduke theduke requested a review from syrusakbary May 18, 2023 02:27
@john-sharratt
Copy link
Contributor

Unfortunately I had to remove one of the tests as the original source code was never kept - its longjump2 but fortunately its not a realistic test anyway, it was doing longjumps inside rust by manually invoking the syscalls. anyway - all the rest of the tests are now fixed

@theduke
Copy link
Contributor Author

theduke commented May 24, 2023

Included in #3906 .

@theduke theduke closed this May 24, 2023
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.

Implement WebAssembly thread-local support for WASIX
2 participants