Build: qualify target support (Alpine/musl, Windows client, Emscripten) #38

Closed
opened 2026-12-03 10:24:25 +00:00 by faumaray · 1 comment
Owner

Context: Forge targets Alpine Linux in production, NixOS for development/packaging, Windows runners and a browser Wasm subset. Forge tracks this as VL-BUILD-01.

Current behavior: CMake requires version 4 and C++26, supports selected modules, and probes expected, reflection and sanitizers. Probe flags include -std=c++26; compiler/version checks alone do not establish Windows or Emscripten support.

Need: exact compiler/standard-library/dependency tuples for Linux, Alpine/musl, Windows runners and the Wasm subset, with useful failures for unsupported combinations. Do not accidentally pull native networking, SQLite or reflection into browser engines.

Proposed: a capability manifest and isolated consumer fixtures recording target, versions, selected modules, linkage, reflection requirements and observed tests. No new runtime API is required.

Tests/gate: configure, compile, install and consume each supported subset; test missing dependencies and unsupported capabilities. Native sanitizers run separately from production packages. Gates Forge M01/M02/M18 and target readiness. No target is currently qualified.

Context: Forge targets Alpine Linux in production, NixOS for development/packaging, Windows runners and a browser Wasm subset. Forge tracks this as VL-BUILD-01. Current behavior: CMake requires version 4 and C++26, supports selected modules, and probes expected, reflection and sanitizers. Probe flags include -std=c++26; compiler/version checks alone do not establish Windows or Emscripten support. Need: exact compiler/standard-library/dependency tuples for Linux, Alpine/musl, Windows runners and the Wasm subset, with useful failures for unsupported combinations. Do not accidentally pull native networking, SQLite or reflection into browser engines. Proposed: a capability manifest and isolated consumer fixtures recording target, versions, selected modules, linkage, reflection requirements and observed tests. No new runtime API is required. Tests/gate: configure, compile, install and consume each supported subset; test missing dependencies and unsupported capabilities. Native sanitizers run separately from production packages. Gates Forge M01/M02/M18 and target readiness. No target is currently qualified.
Author
Owner

Implemented on branch issue-38-targets (commit 1335fa8): cmake/Targets.cmake target profiles (linux, linux-musl, windows, wasm) with per-module allowlists and fail-closed validation, void-target-manifest.cmake written/installed on every configure, consumer fixtures (tests/package/TargetProfile) and docs/targets.md. Merged into main as fe231b0. Verified: Testing;Text -Werror builds and passes (540 tests, 537 passed, 3 skipped) and the manifest records target linux, GNU compiler and the selected module closure. Pushed to origin/main. Qualifying a real musl/Windows/Emscripten run remains recorded as unqualified in the docs. Closing as done.

Implemented on branch `issue-38-targets` (commit `1335fa8`): `cmake/Targets.cmake` target profiles (linux, linux-musl, windows, wasm) with per-module allowlists and fail-closed validation, `void-target-manifest.cmake` written/installed on every configure, consumer fixtures (`tests/package/TargetProfile`) and `docs/targets.md`. Merged into `main` as `fe231b0`. Verified: `Testing;Text` `-Werror` builds and passes (540 tests, 537 passed, 3 skipped) and the manifest records target `linux`, GNU compiler and the selected module closure. Pushed to origin/main. Qualifying a real musl/Windows/Emscripten run remains recorded as unqualified in the docs. Closing as done.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Void/Library#38