embassy/tests/riscv32/src/bin/empty.rs

16 lines
265 B
Rust
Raw Normal View History

2023-04-11 16:53:04 +02:00
#![no_std]
#![no_main]
use embassy_executor::Spawner;
#[panic_handler]
2023-04-11 17:04:25 +02:00
fn panic(_info: &core::panic::PanicInfo) -> ! {
2023-04-11 16:53:04 +02:00
loop {}
}
#[embassy_executor::main]
async fn main(_spawner: Spawner) {
// Don't do anything, just make sure it compiles.
loop {}
}