feat: complete Track A zero-CMake self-hosting, full VOID_TEST migration, and bit-identical Stage 2/3 bootstrap
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 2s

This commit is contained in:
faumaray committed 2026-11-27 06:51:43 +03:00
1 parent fe0d1a6483
commit 5e1916dc5c
23 files changed
+945 -141

No files matched your search

+7 -2
View File
@@ -1109,12 +1109,17 @@ lower_project_graph(const ProjectDescription &description,
physical_includes.emplace_back(map_logical_to_physical(inc_path), is_sys);
}
// Path prefix maps remap physical snapshot root back to logical project root
// so __FILE__, __BASE_FILE__, std::source_location, and debug paths match uncached builds!
// Path prefix maps remap physical snapshot and build roots to canonical logical paths
// so __FILE__, __BASE_FILE__, std::source_location, and debug paths remain deterministic
// across isolated snapshots and build directories!
std::vector<Toolchain::PathPrefixMap> prefix_maps;
if (!graph.snapshot_materialized_root.empty()) {
prefix_maps.push_back({graph.snapshot_materialized_root, canonical_root});
}
if (!t.nondeterministic && !description.profile.nondeterministic &&
!graph.profile_build_dir.empty()) {
prefix_maps.push_back({graph.profile_build_dir, "/vbs-build"});
}
// 5. Optional PCH compilation action (Plan 08 foundation).
std::optional<std::filesystem::path> pch_include_prefix;