Skip to content
Unverified: This page has not yet been anchored to automated code tests.

Cross-Platform Compatibility SSOT (2026)

This document defines the normative requirements for maintaining Vox as a first-class citizen on macOS, Windows, and Linux.

OSArchTarget TripleTier
Linuxx64x86_64-unknown-linux-gnuTier 1 (Primary CI/CD)
Windowsx64x86_64-pc-windows-msvcTier 1 (Development)
macOSarm64aarch64-apple-darwinTier 1 (Development)
macOSx64x86_64-apple-darwinTier 2 (Release only)

The workspace versions are locked in contracts/toolchain/workspace-toolchain.v1.yaml.

  • Rust: 1.95.0 (standardized in rust-toolchain.toml)
  • Node.js: 24.x (standardized in all CI workflows)
  • pnpm: 9.x
  • CUDA: 12.1 (runtime driver dependency, not build-time toolchain)

3. Platform-Specific Enforcement (Sandbox)

Section titled “3. Platform-Specific Enforcement (Sandbox)”
OSMechanismEnforcement Status
LinuxLandlock LSMFull (Filesystem Read/Write)
WindowsJob ObjectsPartial (Memory/Kill-on-close)
macOSFallbackWarning only (Entitlement-based in GUI)
  • Linux: Probes via DRM (/dev/dri/).
  • Windows: Probes via DXGI / windows_fallback.rs.
  • macOS: Probes via Metal (macos_metal.rs).
  • Nvidia (Cross): Probes via vox-plugin-nvml-probe when installed.
  • Rule: Never use / or \ in string literals for internal paths.
  • Implementation: Use std::path::PathBuf.
  • Enforcement: layers.toml rule no-unix-path-literals.
  • Rule: Automation is .vox only (executed via vox run).
  • Implementation: AGENTS.md §VoxScript-First Glue Code.
  • Enforcement: layers.toml rule no-platform-exec-outside-cfg.
  • Rule: LF for all source and markdown. CRLF for .ps1 only.
  • Enforcement: vox ci line-endings.
FeatureAndroidiOS
CodegenCross-platformCross-platform
BuildmacOS / LinuxmacOS Only
ASR (Sherpa)Native PluginNative Plugin
  • Linux (Self-hosted): Full workspace test + LLVM Coverage on every PR.
  • Windows/macOS (GitHub-hosted): cargo check --workspace + platform-sensitive tests on PR (crates: vox-config, vox-cli-core).
  • Release Matrix: Full binary + GUI bundle verification on tag.