Skip to content

Commit

Permalink
Merge #226
Browse files Browse the repository at this point in the history
226: Fix no_std_test r=Ogeon a=Ogeon

This adds a missing required symbol.

Co-authored-by: Erik Hedvall <erikwhedvall@gmail.com>
  • Loading branch information
bors[bot] and Ogeon committed May 22, 2021
2 parents 5a8c4c6 + adaabae commit c7b0365
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions no_std_test/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,11 @@ fn panic(_info: &PanicInfo) -> ! {
loop {}
}

#[cfg(feature = "nightly")]
#[no_mangle]
pub unsafe fn __aeabi_unwind_cpp_pr0() -> () {
loop {}
}

#[cfg(not(feature = "nightly"))]
fn main() {}

0 comments on commit c7b0365

Please sign in to comment.