Skip to content
This repository was archived by the owner on Sep 19, 2026. It is now read-only.

Commit ef94b79

Browse files
committed
fix(vm): isolate baseline builds from candidate warning flags
1 parent a35eb81 commit ef94b79

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎harness/vm/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ space plus compilation caches. Keys and repositories are generated test fixtures
2828
no production signing key is used. CI uploads logs and binary identities, not the
2929
disk image or fixture private keys. This exercises package lifecycle and boot
3030
persistence, not an Omarchy desktop session or full distro upgrade matrix.
31+
32+
Baseline source builds clear inherited `RUSTFLAGS` and `CARGO_ENCODED_RUSTFLAGS`, so current CI warning policy does not reject an older release merely because rustc gained a new lint. Candidate builds retain the workflow flags.

‎harness/vm/run‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ else
4747
baseline_sha=$(git rev-parse --verify --end-of-options "$baseline_ref^{commit}")
4848
baseline_checkout="$work/baseline"
4949
git worktree add --detach "$baseline_checkout" "$baseline_sha"
50-
(cd "$baseline_checkout" && CARGO_TARGET_DIR="$repo/target/vm-baseline" cargo build --locked -p pacvamp)
50+
(cd "$baseline_checkout" && env -u RUSTFLAGS -u CARGO_ENCODED_RUSTFLAGS CARGO_TARGET_DIR="$repo/target/vm-baseline" cargo build --locked -p pacvamp)
5151
cp "$repo/target/vm-baseline/debug/pacvamp" "$work/previous"
5252
fi
5353
python3 - "$work" "$report" "$baseline_ref" "$baseline_sha" <<'PY'

0 commit comments

Comments
 (0)