Cold builds in a fresh build directory now reuse content-addressed artifacts
from $XDG_CACHE_HOME/vbs (or ~/.cache/vbs): the compiled build descriptor and
the toolchain capability probes. Keys already cover the compiler identity, the
SDK, the generated driver source and every configuration source, and the
descriptor's discovered headers are re-verified on every run, so sharing cannot
change a result; VBS_SHARED_CACHE=0 keeps a build directory self-contained.
Measured on a 20-source fixture (Debug vbs): cold 3897 ms -> 755 ms in a fresh
build directory, warm 153 ms (config 1986 -> 128 ms, toolchain 562 -> 6.5 ms).
`vbs completions --shell bash|zsh|fish` and `vbs man [--output DIR]` generate
shell completion scripts and roff man pages from the live parser tree by
running `vbs <path> --help`, so they cannot drift from the CLI (86 man pages).
Verified: new FullV1Tests cases for the shared cache and for completions/man
(including `bash -n` on the generated script) pass, and the CLI contract suite
passes.
VoidLibrary's dependency detection exports /usr/include as a system
include directory; passing it as -isystem makes GCC drop its implicit
entry for that path, so libstdc++'s '#include_next <stdlib.h>' fails
('stdlib.h: No such file or directory'). This broke the self-hosted
install only in environments where the dependency finds Boost/OpenSSL.
Probe the implicit include search list for GCC as well as Clang and
skip those directories when lowering compile commands. Also log the
executed command at debug level.
Verified: 'vbs install' (self-hosted) now succeeds inside an Arch
container matching the CI image.
Bump VoidLibrary to 482a3ea (Windows target support: qualified
Configuration/Crypto/System/Archive, Windows DirectoryWatcher,
TempDir/TempFile, process pipes) and port VBS's own host backends:
- Toolchain: Windows/macOS host names and architectures without uname.
- Platform FileOps: Win32 stat metadata, CreateFileW+LockFileEx file
locks (Void FileLock is POSIX-only, Void/Library#66), no-op
directory fsync, GetModuleFileNameW executable path, mtime via
std::filesystem, and a file-copy fallback for the compdb alias.
- ProcessSupervisor: Windows PATH/PATHEXT resolution and no POSIX
waitpid reaping (job objects own descendants).
- Snapshot: directory listing through std::filesystem on Windows.
- Remote cache/registry client/CDash: curl or Winsock-based HTTP on
Windows (Void::Net is not qualified there yet).
- Daemon: explicit unsupported errors on Windows (named-pipe
transport is Track C3); the registry service stays POSIX-only and
is excluded from the Windows build.
- StateStore/Sbom/Main/Graph: portable stat, time and path handling.
Verified: MinGW-w64 GCC 16.2 builds vbs, vbs_describe, vbs_benchmarks
and the sdk/core/v1/selfhost test executables; vbs runs under Wine
and the SDK suite passes 17/17. The Linux suite stays green (8/8).