embassy/tests/riscv32/src/bin/empty.rs
2023-11-27 01:23:49 +01:00

16 lines
265 B
Rust

#![no_std]
#![no_main]
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 {}
}