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

17 lines
300 B
Rust
Raw Normal View History

2023-04-11 16:53:04 +02:00
#![no_std]
#![no_main]
#![feature(type_alias_impl_trait)]
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 {}
}