#std #os #raca-os #rust

nightly raca_std

A simple rust std for racaOS

4 stable releases

15.0.1 Oct 4, 2024
14.0.1 Aug 30, 2024

#407 in Embedded development

50 downloads per month

MIT/Apache

4KB

raca_std

This is the rust std for racaOS.

!!!Because the API of racaOS is unstable, so you must choose the right version of raca_std to use!!!

Example

Add raca_std to dependencies

// main.rs

#![no_std]
#![no_main]
#![feature(naked_functions)]

#[no_mangle]
pub fn main() -> usize {
    0
}

Then build it with cargo build, copy the executable file to the racaOS root directory.
So you can run it in racaOS.

Dependencies

~705KB
~13K SLoC