We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce36c98 commit 36e230fCopy full SHA for 36e230f
src/test/run-make/thumb-none-qemu/example/Cargo.toml
@@ -5,7 +5,7 @@ authors = ["Hideki Sekine <[email protected]>"]
5
edition = "2018"
6
7
[dependencies]
8
-cortex-m = "0.5.4"
9
-cortex-m-rt = "=0.5.4"
+cortex-m = "0.6.2"
+cortex-m-rt = "0.6.11"
10
panic-halt = "0.2.0"
11
cortex-m-semihosting = "0.3.1"
src/test/run-make/thumb-none-qemu/example/src/main.rs
@@ -1,17 +1,13 @@
1
-// #![feature(stdsimd)]
2
#![no_main]
3
#![no_std]
4
use core::fmt::Write;
use cortex_m::asm;
use cortex_m_rt::entry;
use cortex_m_semihosting as semihosting;
-//FIXME: This imports the provided #[panic_handler].
-#[allow(rust_2018_idioms)]
-extern crate panic_halt;
12
-
13
-entry!(main);
+use panic_halt as _;
14
+#[entry]
15
fn main() -> ! {
16
let x = 42;
17
0 commit comments