CosmWasm / optimizer

Dockerfile and script to deterministically produce the smallest possible Wasm for your Rust contract
Apache License 2.0
118 stars 57 forks source link

Improve Rust-based builder script #134

Closed webmaster128 closed 10 months ago

webmaster128 commented 10 months ago

Heavily inspired by https://github.com/CosmWasm/rust-optimizer/pull/130, but only focussing on consolidating the script that is calling the Rust compiler for now.

Next up it would be good to understand the differences between optimize.sh and optimize_workspace.sh. Once they are the same, we can have everything in a single builder image. (https://github.com/CosmWasm/rust-optimizer/issues/135)

webmaster128 commented 10 months ago

@CyberHoward if you want to have a look in here, that would be appreciated