You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: build cache must invalidate when --target changes
The P0 fast-path build cache (target/.build_cache) only checked source
file and mcpp.toml timestamps. When `mcpp build --target x86_64-linux-musl`
was followed by a plain `mcpp build`, the fast-path reused the musl
build.ninja — producing no GNU binary.
Fix: store the user's --target value as a third line in .build_cache.
try_fast_build() now compares the cached target against the current
request and falls back to a full rebuild on mismatch.
Also fix the test: detect installed GNU gcc dynamically and pin it in
[toolchain].linux so the default build uses GNU, not musl auto-install.
0 commit comments