feat(platform): report Windows hosts as supported
VoidBuildSystem CI / 1 · Requirements (push) Successful in 10s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 4m17s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 3m45s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 8m40s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 9m22s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 7m13s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 1m7s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 19s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 8m57s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 16s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 7m5s
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Failing after 1m37s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Successful in 3m33s
VoidBuildSystem CI / 5 · Release (push) Skipped

host_supported() now covers Windows (MinGW-w64/MSYS2) alongside Linux
(including WSL); the daemon transport and registry service remain
Track C3 on Windows. The doctor contract accepts both host names.
This commit is contained in:
faumaray committed 2026-12-06 13:34:22 +03:00
1 parent b2c869961a
commit 9840cf6f3f
2 files changed
+7 -4

No files matched your search

+6 -3
View File
@@ -33,8 +33,11 @@ enum class HostOs { Linux, MacOS, Windows, Unknown };
return "Unknown";
}
// macOS/Windows ports are planned (Track C2/C3); the process and file backends
// currently support Linux hosts only.
[[nodiscard]] constexpr bool host_supported() noexcept { return host_os() == HostOs::Linux; }
// Linux (including WSL) and Windows (MinGW-w64 / MSYS2) hosts are supported;
// the macOS port is planned (Track C2). On Windows the daemon transport and the
// registry service are not available yet (Track C3).
[[nodiscard]] constexpr bool host_supported() noexcept {
return host_os() == HostOs::Linux || host_os() == HostOs::Windows;
}
} // namespace Void::Build::Platform