#rust
553 posts · Last used 59m
Hi Fediverse! 👋 This is Zainium OS, an independent immutable Linux distribution, not based on any other, written mostly in Rust. 🧵
- a base sealed with fs-verity: not even root can change it
- updates as one unit, with rollback at boot
- musl and glibc side by side
- zex, our own package manager
- built on our own filesystem layout, the Dualayer Hierarchy Standard (DHS)
If you use nightly Rust and run rustup update, you'll find a new goodie tonight that I'm particularly happy about: experimental "no graphics" diagnostics in cargo behind the flag -Zterm-graphics and in rustc behind the flags -Znightly-features --error-format=human-no-graphics. (These names will likely change.)
You can permanently turn this feature on, which will only take effect in nightly, by adding the following to your .cargo/config.toml, which will be used on nightly and ignored on stable:
[unstable]
term-graphics = true
If you also add NO_GRAPHICS=1 to your environment flags, the all of your builds using nightly will use the new output.
In lieu of the environment variable, you can also add the following to your .cargo/config.toml, but this will make stable cargo complain about an unused config key:
[term]
graphics = false
Once the feature is stable, it will be much smoother, but expect rough edges at this time. Do let us know about them when you encounter them!











