Phase 6.5: Rust Compiler Port + vsh Shell

Version: v0.7.0 | Date: February 2026 | Status: COMPLETE

Overview

Phase 6.5 establishes VeridianOS as a self-hosting Rust development platform by porting the Rust compiler toolchain and creating a native shell. The Rust compiler targets VeridianOS through a custom std::sys::veridian platform module, backed by LLVM 19. Alongside the compiler, the Veridian Shell (vsh) provides a Bash-compatible interactive environment written entirely in Rust.

Key Deliverables

  • Rust compiler port: Custom std::sys::veridian platform implementation enabling native Rust compilation on VeridianOS
  • LLVM 19 backend: Code generation targeting the VeridianOS ABI and syscall interface
  • vsh (Veridian Shell): Feature-rich shell with 49 built-in commands, job control, pipes, redirections, and scripting support
  • Self-hosted compilation pipeline: Ability to compile Rust programs natively on VeridianOS without cross-compilation

Technical Highlights

  • The std::sys::veridian module bridges Rust's standard library to VeridianOS syscalls, providing filesystem, networking, threading, and process management primitives
  • vsh implements Bash-compatible syntax including control flow (if/for/while), variable expansion, command substitution, and signal handling
  • Job control supports foreground/background process groups with fg, bg, and jobs
  • The compilation pipeline integrates with the Phase 4 package manager (vpkg) for dependency resolution

Files and Statistics

  • New platform module: std::sys::veridian (compiler fork)
  • Shell implementation: vsh with 49 builtins
  • Builds on self-hosting foundation from Technical Sprint 7 (GCC/Make/vpkg in v0.5.0)

Dependencies

  • Phase 4: Package management (vpkg)
  • Technical Sprint 7: GCC cross-compiler, Make, core build tools
  • Phase 6: Wayland compositor and desktop environment