aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/examples/unsafe-entry.rs
blob: 9dcbf336626e376f53565effe713696177664773 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![deny(warnings)]
#![no_main]
#![no_std]

extern crate cortex_m_rt;
extern crate panic_halt;

use cortex_m_rt::entry;

#[entry]
unsafe fn foo() -> ! {
    loop {}
}