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

Allow to compile to wasi target without wasm_bindgen #746

Merged
merged 2 commits into from
Nov 18, 2019

Conversation

dunnock
Copy link
Contributor

@dunnock dunnock commented Nov 18, 2019

I am trying to compile yew worker to wasm32-wasi, though now it also includes wasm_bindgen which is not compatible with wasi environment. Wasi allows to execute POSIX-like compatible services e.g. databases, math, lambdas... IMHO it is quite important that yew supports compilation of its workers to WASI as a transitive dependency.

These are few examples where yew is compiled to WASI target:
https://crates.io/crates/wasi-worker-yew
https://github.com/dunnock/wabench/
http://wabench.com:8080/

@jstarry
Copy link
Member

jstarry commented Nov 18, 2019

Sweet, thanks! CI passed for stable rust so I'm merging 👍

@jstarry jstarry merged commit f6af516 into yewstack:master Nov 18, 2019
llebout pushed a commit to llebout/yew that referenced this pull request Jan 20, 2020
* allow to compile to wasi without wasm-bindgen

* allow to compile to wasm32-wasi without wasm_bindgen
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