foundry
Foundry OS: the operating system built on the Rustbelt kernel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # Foundry OS: the Rust userland, as one Cargo workspace. # # Every program is a `no_std` binary for the built-in `x86_64-unknown-none` # target (no operating-system standard library), linked as a static ET_EXEC # at Rustbelt's user base 0x80_0040_0000 (see link.ld). The shared runtime # (syscall wrappers, println!, heap, _start) is rbrt/ulib.rs, which every # program includes as a module with `#[path = ...] mod ulib;` -- exactly as # in the kernel repo. Turning rbrt into a real library crate is milestone M1b. [workspace] resolver = "3" members = ["rbsh", "coreutils-rs", "net", "sys", "init"] [workspace.package] version = "0.1.0" edition = "2024" license = "MIT OR Apache-2.0" publish = false # The same code-generation settings the kernel's build.rs passes to rustc: # -C panic=abort -C opt-level=2 -C debuginfo=0 -C strip=debuginfo. [profile.release] panic = "abort" opt-level = 2 debug = 0 strip = "debuginfo" [profile.dev] panic = "abort" |