rt/rust/src/lib.rs

22 lines
236 B
Rust

#![no_std]
pub mod cycle;
pub mod sync;
pub mod task;
pub mod tick;
pub use paste;
mod bindings;
mod list;
use bindings::{rt_start, rt_stop};
pub fn start() {
unsafe { rt_start() }
}
pub fn stop() {
unsafe { rt_stop() }
}