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>"]
5
5
edition = " 2018"
6
6
7
7
[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 "
10
10
panic-halt = " 0.2.0"
11
11
cortex-m-semihosting = " 0.3.1"
Original file line number Diff line number Diff line change 1
- // #![feature(stdsimd)]
2
1
#![ no_main]
3
2
#![ no_std]
4
3
use core:: fmt:: Write ;
5
4
use cortex_m:: asm;
6
5
use cortex_m_rt:: entry;
7
6
use cortex_m_semihosting as semihosting;
8
7
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 _;
14
9
10
+ #[ entry]
15
11
fn main ( ) -> ! {
16
12
let x = 42 ;
17
13
You can’t perform that action at this time.
0 commit comments