diff --git a/include/Void/Build/Platform/Host.hpp b/include/Void/Build/Platform/Host.hpp index 75722ac..1e080ae 100644 --- a/include/Void/Build/Platform/Host.hpp +++ b/include/Void/Build/Platform/Host.hpp @@ -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 diff --git a/tests/CliContracts.cmake b/tests/CliContracts.cmake index 7223d55..d755f0f 100644 --- a/tests/CliContracts.cmake +++ b/tests/CliContracts.cmake @@ -31,7 +31,7 @@ check_process(2 "" "invalid --test-timeout" test --test-timeout 0) check_process(0 "Usage: vbs init " "" init --help) check_process(0 "Usage: vbs clean " "" clean --help) check_process(0 "Usage: vbs doctor " "" doctor --help) -check_process(0 "host platform: Linux" "" doctor) +check_process(0 "host platform: (Linux|Windows)" "" doctor) check_process(0 "Void::Sqlite: (enabled|disabled)" "" doctor) check_process(0 "Usage: vbs graph " "" graph --help) check_process(2 "" "unsupported --format" graph --format xml)