You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
# Install wasm-gc. It's useful for stripping slimming down wasm binaries.
Note: you probably don't need to use this project. This project is no
longer necessary to run by hand, nor do you need the wasm-gc executable
installed.
The Rust compiler now natively supports --gc-sections when linking wasm executables, which means wasm executables already have 90% of their garbage removed when coming out of the compiler.
The wasm-pack (and wasm-bindgen) project will already run this by default for you, so there's no need to run it again.
Don't include this build! If you think you need to feel free to open an issue on wasm-pack or wasm-bindgen, as it may be a bug in one of those projects!
I wonder if the script needs this still? It is also unmaintained, and my gut says that is a reason not to use it.
This causes debuginfo to be stripped from release binaries. You can also supply "symbols" or just true to strip all symbol information where supported.
Without context, I wonder if this is related and could obviate some need for cargo-gc
The text was updated successfully, but these errors were encountered:
polkadot/scripts/init.sh
Line 14 in 537145e
I wonder if the script needs this still? It is also unmaintained, and my gut says that is a reason not to use it.
I also noticed: https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html#creating-stripped-binaries
Without context, I wonder if this is related and could obviate some need for cargo-gc
The text was updated successfully, but these errors were encountered: