Skip to content

Commit

Permalink
ensure evm runtime is built with release to get compressed compacte…
Browse files Browse the repository at this point in the history
…d wasm
  • Loading branch information
vedhavyas committed Jun 21, 2024
1 parent c33d532 commit 565acbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions domains/test/runtime/evm/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ fn main() {
{
// TODO: Workaround for https://github.com/paritytech/polkadot-sdk/issues/3192
std::env::set_var("CFLAGS", "-mcpu=mvp");
std::env::set_var("WASM_BUILD_TYPE", "release");
substrate_wasm_builder::WasmBuilder::new()
.with_current_project()
.export_heap_base()
Expand Down

0 comments on commit 565acbc

Please sign in to comment.