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

Added some fixes for the browser version to work again #3635

Merged
merged 10 commits into from
Mar 2, 2023

Conversation

john-sharratt
Copy link
Contributor

Modules and Memory can not be shared between threads in rust and must be passed between threads using javascript instead

@john-sharratt john-sharratt marked this pull request as ready for review March 2, 2023 02:53
@theduke theduke force-pushed the wasix-fixes-for-web branch from 2511d65 to 7d217fb Compare March 2, 2023 15:52
lib/wasi/src/os/console/mod.rs Show resolved Hide resolved
lib/api/src/js/store.rs Show resolved Hide resolved
lib/vm/src/store.rs Show resolved Hide resolved
lib/wasi/src/os/console/mod.rs Show resolved Hide resolved
lib/wasi/src/runtime/task_manager/mod.rs Show resolved Hide resolved
lib/wasi/src/bin_factory/module_cache.rs Show resolved Hide resolved
@theduke
Copy link
Contributor

theduke commented Mar 2, 2023

LGTM apart from the globals accessor on the Store - needs to use iter_globals

lib/vm/src/store.rs Show resolved Hide resolved
@theduke theduke enabled auto-merge (rebase) March 2, 2023 18:42
@theduke theduke merged commit 464af8d into master Mar 2, 2023
@theduke theduke deleted the wasix-fixes-for-web branch March 2, 2023 18:47
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.

3 participants