Crates.io | raca_std |
lib.rs | raca_std |
version | |
source | src |
created_at | 2024-08-30 09:15:06.16578 |
updated_at | 2024-10-04 02:05:17.83422 |
description | A simple rust std for racaOS |
homepage | |
repository | https://github.com/zzjrabbit/raca_std |
max_upload_size | |
id | 1357512 |
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` |
size | 0 |
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!!!
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.