-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Remove wasm-pack
#57304
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
Remove wasm-pack
#57304
Changes from all commits
f897f6a
3815d1b
381a220
7016749
86bd4f2
2004d5f
995cb03
7a99307
6c291a9
8c932d6
6841591
c798c28
33c4f4b
d172eb6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| [alias] | ||
| bin = ["run", "--package", "cargo-bin", "--"] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -118,3 +118,4 @@ msgfile/ | |
|
|
||
| # Dockerized builds generate .pnpm-store in the root, so ignore it | ||
| .pnpm-store | ||
| .bin/ | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -228,10 +228,6 @@ RUN curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --p | |
| rustup target add wasm32-unknown-unknown && \ | ||
| if [ "$BUILDARCH" = "amd64" ]; then rustup target add aarch64-unknown-linux-gnu i686-unknown-linux-gnu; fi | ||
|
|
||
| ARG WASM_PACK_VERSION | ||
| # Install wasm-pack for targeting WebAssembly from Rust. | ||
| RUN cargo install wasm-pack --locked --version ${WASM_PACK_VERSION} | ||
|
|
||
|
Comment on lines
-231
to
-234
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we add some cache warming step here? How bad is it to compile wasm-bindgen-cli every time?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On my machine it takes 25s for |
||
| # Switch back to root for the remaining instructions and keep it as the default | ||
| # user. | ||
| USER root | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this added to .gitignore? Can you add a comment as to why this is here and separate it from .pnmp-store as that description does not seem to apply?