Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
This fixes a linkage issue that was fixed a while ago, and adds thumbv8
support.
  • Loading branch information
jonas-schievink committed Jan 21, 2020
1 parent ce36c98 commit 36e230f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/test/run-make/thumb-none-qemu/example/Cargo.toml
Expand Up @@ -5,7 +5,7 @@ authors = ["Hideki Sekine <sekineh@me.com>"]
edition = "2018"

[dependencies]
cortex-m = "0.5.4"
cortex-m-rt = "=0.5.4"
cortex-m = "0.6.2"
cortex-m-rt = "0.6.11"
panic-halt = "0.2.0"
cortex-m-semihosting = "0.3.1"
8 changes: 2 additions & 6 deletions src/test/run-make/thumb-none-qemu/example/src/main.rs
@@ -1,17 +1,13 @@
// #![feature(stdsimd)]
#![no_main]
#![no_std]
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;

entry!(main);
use panic_halt as _;

#[entry]
fn main() -> ! {
let x = 42;

Expand Down

0 comments on commit 36e230f

Please sign in to comment.