Skip to content

Commit 36e230f

Browse files
Update dependencies
This fixes a linkage issue that was fixed a while ago, and adds thumbv8 support.
1 parent ce36c98 commit 36e230f

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/test/run-make/thumb-none-qemu/example/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["Hideki Sekine <[email protected]>"]
55
edition = "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"
1010
panic-halt = "0.2.0"
1111
cortex-m-semihosting = "0.3.1"

src/test/run-make/thumb-none-qemu/example/src/main.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
// #![feature(stdsimd)]
21
#![no_main]
32
#![no_std]
43
use core::fmt::Write;
54
use cortex_m::asm;
65
use cortex_m_rt::entry;
76
use 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]
1511
fn main() -> ! {
1612
let x = 42;
1713

0 commit comments

Comments
 (0)