Skip to content

Commit

Permalink
Don't immediate-panic in debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Nov 2, 2023
1 parent eb1abbe commit 97fbc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,11 @@ fn run(hw: HardwareVersion, release: bool) -> AnyResult<()> {
"--target=xtensa-esp32s3-none-elf",
&hw,
"-Zbuild-std=core,alloc",
"-Zbuild-std-features=panic_immediate_abort",
];

if release {
build_flags.push("--release");
build_flags.push("-Zbuild-std-features=panic_immediate_abort");
}

// println!("🛠️ Building firmware");
Expand Down

0 comments on commit 97fbc6e

Please sign in to comment.