embassy/tests/riscv32/src/bin/empty.rs
Roy Buitenhuis e183801957 Rustfmt
2023-04-11 17:04:25 +02:00

17 lines
300 B
Rust

#![no_std]
#![no_main]
#![feature(type_alias_impl_trait)]
use embassy_executor::Spawner;
#[panic_handler]
fn panic(_info: &core::panic::PanicInfo) -> ! {
loop {}
}
#[embassy_executor::main]
async fn main(_spawner: Spawner) {
// Don't do anything, just make sure it compiles.
loop {}
}