mirror of
https://github.com/NotAShelf/microfetch.git
synced 2026-04-27 10:55:20 +00:00
The monolithic lib.rs had grown to 2600+ lines of `#[cfg(target_arch)]` blocks interleaved inside every `sys_*` function. Reading or modifying one arch's syscalls meant scrolling past thirteen others. Pull each arch's asm into `<arch>.rs`, re-exported via a single `#[cfg] #[path] mod arch;` so `lib.rs` only contains wrappers, structs, and module dispatch. Adding a new architecture now touches one new file plus one three-line mod decl. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||