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
In src/cmd/build.rs we currently pass the number of optimization passes 3 to binaryen by default. However, it is desirable to give contract authors control over this setting. Hence we want to expose it on the cli.
ToDo
cargo contract build should have an additional --optimization-passes parameter which makes this variable customizable.
The text was updated successfully, but these errors were encountered:
Hi @cmichi , we have a modification in #131 related to the opt passes, if there is any plan on the wasm optimization in cargo-contract, please ping us ( @patractlabs )
Motivation
In
src/cmd/build.rs
we currently pass the number of optimization passes3
tobinaryen
by default. However, it is desirable to give contract authors control over this setting. Hence we want to expose it on the cli.ToDo
cargo contract build
should have an additional--optimization-passes
parameter which makes this variable customizable.The text was updated successfully, but these errors were encountered: