1 2 3 4 5 6 7 8 9
#![no_main] #[mock::app] const APP: () = { #[idle(spawn = [foo], spawn = [bar])] fn idle(_: idle::Context) -> ! { loop {} } };