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

Documentation for wasm32-wasi support? #910

Closed
saona-raimundo opened this issue Jan 10, 2022 · 1 comment
Closed

Documentation for wasm32-wasi support? #910

saona-raimundo opened this issue Jan 10, 2022 · 1 comment

Comments

@saona-raimundo
Copy link

Hi! Thank you for all the work.

I wanted to ask for documentation to use rayon in wasm32-wasi target, like running a wasm module with wasmtime.

I have seen documentation for the web like the current link in the readme and others:

Some issues that are related are #93 and the PR #636.

Maybe I did not read carefully enough but my goal is to:

  • Write a Rust program using rayon
  • Compile it to wasm32-wasi
  • Run it with wasmtime

If I naively do just this I get the known thread pool not initialized error.

(Maybe I should also ask in wasmtime?)

@cuviper
Copy link
Member

cuviper commented Feb 8, 2022

IMO, it would be better to improve the documentation in one of the wasm-specific repositories, especially since the mechanism is currently experimental and may change as the wasm standard evolves.

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

No branches or pull requests

2 participants