docs(roadmap): add superiority plan; revise platforms to Wine-first Windows
This commit is contained in:
1 parent
d23a878eec
commit
70483492aa
6 files changed
+101
-5
No files matched your search
@@ -47,9 +47,9 @@ flowchart LR
|
||||
| Phase | Concrete Scope | Acceptance Gate |
|
||||
| --- | --- | --- |
|
||||
| **C1 — Platform Backend Split** *(Linux backend split implemented; macOS/Windows pending)* | Split `src/Platform/` into `Linux/`, `MacOS/`, and `Windows/` behind clean interfaces (`FileOps`, `ProcessSupervisor`, `DirectoryWatcher`), delegating to `Void::System` as upstream adds OS backends. Linux implementations now live under `src/Platform/Linux/` and `src/Watch/Linux/` (inotify watcher) with an explicit `HostOs`/`host_supported()` boundary in `include/Void/Build/Platform/Host.hpp`; macOS/Windows backends await real hosts (the daemon socket and registry POSIX server carry explicit Windows compile-time boundaries, `vbs doctor` and the daemon `info` request report the detected host and enabled backends, `Platform::current_executable_path()` isolates the executable-path lookup across sources and tests, the daemon `describe` request can be scoped to one workspace member, `vbs daemon target flags` serves per-unit compile arguments, `vbs releases show` prints one release's detail, source archives never embed themselves, registry downloads answer HEAD with full headers, support single-range requests, both metadata reads and downloads are ETag-validated with RFC 7232 If-None-Match matching, and `vbs verify` can require a trusted signer key). | Zero Linux regressions; clean platform abstraction boundary. |
|
||||
| **C2 — macOS / Apple Clang & `ld64`** | Apple Clang toolchain probes, `.dylib` + `@rpath`/`@loader_path` install-name lowering, `FSEvents` watcher, Mach-O deterministic timestamps. | Real macOS CI runner passing all SDK, core, module, and install tests. |
|
||||
| **C3 — Windows / MSVC & `clang-cl`** | MSVC (`cl.exe`, `lib.exe`, `link.exe`, `/showIncludes`, `.pdb`, `/FS`, `.dll`/`.lib` import libraries), Job Object process-tree kill, `ReadDirectoryChangesW` watcher, case-insensitive path conflict detection. | Real Windows CI runner passing process-tree kill, header-shadowing, and install relocation tests. |
|
||||
| **C4 — True Host-vs-Target Cross-Compilation** | Dual-context evaluation (`host` profile for code generators and `build_dependency` tools vs `target` profile for cross-compiled products), sysroot & `--target=` triple propagation. | `linux-x86_64` host cross-compiling `linux-aarch64` fixture while executing host-compiled generator natively. |
|
||||
| **C2 — macOS / Apple Clang & `ld64`** *(deferred, dropped for now)* | Apple Clang toolchain probes, `.dylib` + `@rpath`/`@loader_path` install-name lowering, `FSEvents` watcher, Mach-O deterministic timestamps. | **Deferred (2026-12-05)**: needs a real macOS host; not scheduled. |
|
||||
| **C3 — Windows via Wine (native MSVC deferred)** | Wine-first: cross-compile to `x86_64-w64-mingw32` with MinGW-w64 GCC (`dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc`) and execute PE binaries under Wine 11 (`dev cpp-gcc -p wine64`); PE artifact naming, Windows target profile, Wine test runner. Native MSVC/`clang-cl` host support is Track C3-native (deferred). | A Wine-hosted Windows fixture builds and its tests run, with platform claims labelled as Wine-verified. |
|
||||
| **C4 — True Host-vs-Target Cross-Compilation** | Dual-context evaluation (`host` profile for code generators and `build_dependency` tools vs `target` profile for cross-compiled products), sysroot & `--target=` triple propagation. Required by the Wine strategy. | `linux-x86_64` host cross-compiling a Windows/mingw fixture while executing host-compiled generators natively. |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user