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

WASM support #871

Open
logankeenan opened this issue Jan 26, 2022 · 2 comments
Open

WASM support #871

logankeenan opened this issue Jan 26, 2022 · 2 comments

Comments

@logankeenan
Copy link

logankeenan commented Jan 26, 2022

I'm looking at using tide as a replacement for my current portable web server which can be embedded in different compile targets, one of those being WASM. Currently, tide fails to compile due to APIs incompatible with WASM like file system access and task:::spawn. I created a fork and have refactored code or excluded modules which cause complication failures with cfg_if Perhaps, there's a better solution. I also created a simple demo repo which consumes my branch. Let me know what I can do to contribute and help! Thanks!

@maxcountryman
Copy link

I'd be keen to see how this might support native Rust Cloudflare Workers.

@logankeenan
Copy link
Author

@maxcountryman

This works pretty well inside a Rust Cloudflare worker. I wrote a blog post about it.

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 a pull request may close this issue.

2 participants