Skip to content

Commit 5d18b1e

Browse files
committed
compiler: enable unwinding on riscv32imac_unknown_xous_elf
Now that everything is in place to support unwinding on Xous, enable this for that target. Signed-off-by: Sean Cross <[email protected]>
1 parent ad5de91 commit 5d18b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/riscv32imac_unknown_xous_elf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub fn target() -> Target {
1414
cpu: "generic-rv32".into(),
1515
max_atomic_width: Some(32),
1616
features: "+m,+a,+c".into(),
17-
panic_strategy: PanicStrategy::Abort,
17+
panic_strategy: PanicStrategy::Unwind,
1818
relocation_model: RelocModel::Static,
1919
..Default::default()
2020
},

0 commit comments

Comments
 (0)