Skip to content

Commit 9e8bc83

Browse files
committed
Add a break on one architecture.
1 parent df065cf commit 9e8bc83

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/versatileab/src/bin/hello.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ fn my_main() -> ! {
1616
let y = x * 2.0;
1717
println!("Hello, this is semihosting! x = {:0.3}, y = {:0.3}", x, y);
1818
versatileab::want_panic();
19+
#[cfg(arm_architecture = "v7-a")]
20+
no_such_function();
1921
panic!("I am an example panic");
2022
}

0 commit comments

Comments
 (0)