feat: create libkos crate with core modules (syscall, alloc, rt)

This commit is contained in:
2026-10-19 00:53:31 +02:00
parent 2792387348
commit dbec3842fa
9 changed files with 412 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#[cfg(all(target_arch = "riscv64", target_os = "none"))]
mod riscv;
#[cfg(all(target_arch = "riscv64", target_os = "none"))]
pub use riscv::*;
#[cfg(not(target_os = "none"))]
mod mock;
#[cfg(not(target_os = "none"))]
pub use mock::*;