-
Notifications
You must be signed in to change notification settings - Fork 207
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
Support wasm-pack backend #706
base: main
Are you sure you want to change the base?
Conversation
Any news about this PR? |
@shepmaster sorry for the ping but any chance this could be merged? |
@lukechu10 and anyone interested in this feature could try my own hosting Note that due to the limited budgets, I host it with the minimal resource (1 CPU and 1 G RAM). Hope that someone could try it and give me some feedback. I will contine try to merge to original one. |
Hey, are there any updates on this from this repo owners? Is there any help needed for getting this forward, or this is supposed to be will-not-merge kind of thing? |
@YJDoc2, thank you for your interest. Obviously, the upstream is highly refactored after I submitted this PR. |
@shepmaster sorry for pinging, but would this project be interested in merging this/equivalent PR? This would be a pretty interesting feature to have in the playground. |
Hey @dtolnay @RalfJung sorry for the ping, but pinging you as you seem to also be one of the recent active contributors. It seems that @shepmaster might have missed the ping, or they might be busy with something else. Is there any chance of this getting merged after appropriate changes? Thank you! |
This PR aims to solve #374 , which is the backend service for it.
Change of code
wasm-pack
POST method which request Rustcode
and response withwasm_js
,wasm_bg
etc.wasm-pack
cargo-pack
which leverage wasm-pack to build the wasm codeDockerfile
for new channelrust-wasm-pack
Cargo.toml
and dummysrc/lib.rs
for environment settingNote
compiler/wasm-pack/Cargo.toml
nottop-crates/crate-modifications.toml
, I am not sure which way is better.Demo
rust-playground
2021-04-15.11-20-07.mp4
mdBook
2021-04-15.11-29-30.mp4