-
Notifications
You must be signed in to change notification settings - Fork 843
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
Make rust based implementations work in the docker container #586
Comments
In the README I give the exact directions. You have to manually install wasm-pack from here (for example by using After rustup and wasm-pack are installed, you need to run these commands: rustup toolchain install nightly
rustup override set nightly
npm install
npm run build-prod-force And that should work. It is possible to use rustup to download a specific version of the Rust toolchain. For example, rather than using And then you need to use |
Thanks - it worked when installed manually. Now I'll try to somehow integrate it into to the docker build (might take some days). I'll report back. |
Thanks to @Pauan rust build work in the docker container. |
Oops, I overlooked non-keyed/stdweb, I'll send a PR. |
Great - thanks! |
@Pauan I've opened that issue for working on the rust based frameworks.
The ultimate goal is to perform the build in the docker containter (#546 (comment)).
Here are the (erratic) steps I tried so far:
npm install --save-dev rimraf webpack webpack-cli @wasm-tool/wasm-pack-plugin
Use rust-up to install rust (will be baked into the docker image at some point)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Is there a better way to get a specific version?
source $HOME/.cargo/env
Now rust seems to be installed:
Then try to build:
npm run build-force
:The text was updated successfully, but these errors were encountered: