Skip to content

Commit e746d27

Browse files
committed
fix condition
1 parent ffe525b commit e746d27

File tree

1 file changed

+1
-1
lines changed
  • crates/cargo-pvm-contract-builder/src

1 file changed

+1
-1
lines changed

crates/cargo-pvm-contract-builder/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ fn build_elf(
229229
.arg(&target_json)
230230
.arg("-Zbuild-std=core,alloc");
231231

232-
if immediate_abort {
232+
if !immediate_abort {
233233
cmd.arg("-Zbuild-std-features=panic_immediate_abort");
234234
}
235235

0 commit comments

Comments
 (0)