raca_std

Crates.ioraca_std
lib.rsraca_std
version
sourcesrc
created_at2024-08-30 09:15:06.16578
updated_at2024-10-04 02:05:17.83422
descriptionA simple rust std for racaOS
homepage
repositoryhttps://github.com/zzjrabbit/raca_std
max_upload_size
id1357512
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Zeng Zhenjia (zzjrabbit)

documentation

README

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.

Commit count: 8

cargo fmt