File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
src/test/run-make/thumb-none-qemu/example Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ authors = ["Hideki Sekine <sekineh@me.com>"]
55edition = " 2018"
66
77[dependencies ]
8- cortex-m = " 0.5.4 "
9- cortex-m-rt = " =0.5.4 "
8+ cortex-m = " 0.6.2 "
9+ cortex-m-rt = " 0.6.11 "
1010panic-halt = " 0.2.0"
1111cortex-m-semihosting = " 0.3.1"
Original file line number Diff line number Diff line change 1- // #![feature(stdsimd)]
21#![ no_main]
32#![ no_std]
43use core:: fmt:: Write ;
54use cortex_m:: asm;
65use cortex_m_rt:: entry;
76use cortex_m_semihosting as semihosting;
87
9- //FIXME: This imports the provided #[panic_handler].
10- #[ allow( rust_2018_idioms) ]
11- extern crate panic_halt;
12-
13- entry ! ( main) ;
8+ use panic_halt as _;
149
10+ #[ entry]
1511fn main ( ) -> ! {
1612 let x = 42 ;
1713
You can’t perform that action at this time.
0 commit comments