Skip to content

Commit

Permalink
Merge pull request #2872 from subspace/force_release_for_test_runtime
Browse files Browse the repository at this point in the history
Force EVM test runtime with `release` profile to get compressed compacted wasm
  • Loading branch information
vedhavyas authored Jun 21, 2024
2 parents c33d532 + 565acbc commit 09c552f
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 09c552f

Please sign in to comment.