Skip to content

Commit 4477fe6

Browse files
avrabeclaude
andauthored
chore(release): v0.11.38 — pin sweep + changelog (#321)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 93957d0 commit 4477fe6

13 files changed

Lines changed: 75 additions & 42 deletions

File tree

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.11.38] - 2026-06-11
11+
12+
**The first register-exhaustion hard-fail becomes recoverable
13+
(#242, VCR-RA-001 steps 3b-lite + 4 substrate).**
14+
15+
- **Spill-on-exhaustion retry**: when `alloc_temp_safe` would hard-fail
16+
("register exhaustion: all allocatable registers are live on the stack"),
17+
the function is re-selected with spilling enabled — the deepest
18+
stack-resident value moves to a frame slot (existing #171 `Spilled`
19+
reload-on-pop machinery) and selection continues. Bit-identity for every
20+
currently-compiling function is STRUCTURAL: the unmodified first pass runs
21+
for everyone; only the exact exhaustion error triggers the fresh-selector
22+
retry (which also forces the spill-area reservation that i32-only frames
23+
lacked). Honest bound: 8 spill slots cap simultaneous spills; the i64
24+
consecutive-pair and call-result hard-fail sites remain (next increments).
25+
- **Cycle-safe parallel-move resolver** (`synth_synthesis::parallel_move`,
26+
VCR-RA-004): chains leaf-first, cycles broken via move-set-filtered scratch
27+
or a self-bracketing stack-scratch pair; property-tested across 6000
28+
deterministic sequentializations + directed swap/cycle cases with a
29+
structural size bound. Pure substrate for upcoming spill/reload insertion.
30+
- NEW committed oracle: `scripts/repro/high_pressure_i32.wat` +
31+
unicorn-vs-wasmtime differential — hard `Err` on v0.11.37, compiles and
32+
passes 6/6 on this release.
33+
34+
All fixtures sha256-identical to v0.11.37; differentials PASS (13/13,
35+
338/338, 0x07FDF307). gale's v0.11.36/37 scorecard verified everything
36+
shipped (filter −8 cyc, #311 closed on silicon, #237 sizing confirmed).
37+
38+
Falsification: wrong if any previously-compiling module's bytes change, or
39+
the high-pressure lane disagrees with wasmtime. The reciprocal-mult
40+
cost-gate revert experiment (VCR-VER-001 evidence) is now runnable.
41+
42+
1043
## [0.11.37] - 2026-06-11
1144

1245
**RV32 i64 locals + the per-op register-aliasing fix the behavioral oracle

Cargo.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ resolver = "2"
2727
# semver to publish, so the convention now catches up: workspace
2828
# version follows the release tag, bumped pre-tag in the release
2929
# checklist. See docs/release-process.md.
30-
version = "0.11.37"
30+
version = "0.11.38"
3131
edition = "2024"
3232
rust-version = "1.88"
3333
authors = ["PulseEngine Team"]

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module(
77
name = "synth",
88
# Kept in lockstep with [workspace.package] version in Cargo.toml.
99
# Both are bumped pre-tag — see docs/release-process.md.
10-
version = "0.11.37",
10+
version = "0.11.38",
1111
)
1212

1313
# Bazel dependencies

crates/synth-backend-awsm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ categories.workspace = true
1111
description = "aWsm backend integration for the Synth compiler"
1212

1313
[dependencies]
14-
synth-core = { path = "../synth-core", version = "0.11.37" }
14+
synth-core = { path = "../synth-core", version = "0.11.38" }
1515
anyhow.workspace = true
1616
thiserror.workspace = true

crates/synth-backend-riscv/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ categories.workspace = true
1111
description = "RISC-V encoder, ELF builder, PMP allocator, and bare-metal startup for synth"
1212

1313
[dependencies]
14-
synth-core = { path = "../synth-core", version = "0.11.37" }
15-
synth-synthesis = { path = "../synth-synthesis", version = "0.11.37" }
14+
synth-core = { path = "../synth-core", version = "0.11.38" }
15+
synth-synthesis = { path = "../synth-synthesis", version = "0.11.38" }
1616
anyhow.workspace = true
1717
thiserror.workspace = true
1818
tracing.workspace = true

crates/synth-backend-wasker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ categories.workspace = true
1111
description = "Wasker backend integration for the Synth compiler"
1212

1313
[dependencies]
14-
synth-core = { path = "../synth-core", version = "0.11.37" }
14+
synth-core = { path = "../synth-core", version = "0.11.38" }
1515
anyhow.workspace = true
1616
thiserror.workspace = true

crates/synth-backend/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ default = ["arm-cortex-m"]
1515
arm-cortex-m = ["synth-synthesis"]
1616

1717
[dependencies]
18-
synth-core = { path = "../synth-core", version = "0.11.37" }
19-
synth-synthesis = { path = "../synth-synthesis", version = "0.11.37", optional = true }
18+
synth-core = { path = "../synth-core", version = "0.11.38" }
19+
synth-synthesis = { path = "../synth-synthesis", version = "0.11.38", optional = true }
2020
anyhow.workspace = true
2121
thiserror.workspace = true

crates/synth-cli/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ verify = ["synth-verify"]
2727
# Path deps carry `version` so `cargo publish` rewrites them to the
2828
# crates.io coordinate. Bumping the workspace version requires
2929
# updating these in lockstep — see docs/release-process.md.
30-
synth-core = { path = "../synth-core", version = "0.11.37" }
31-
synth-frontend = { path = "../synth-frontend", version = "0.11.37" }
32-
synth-synthesis = { path = "../synth-synthesis", version = "0.11.37" }
33-
synth-backend = { path = "../synth-backend", version = "0.11.37" }
30+
synth-core = { path = "../synth-core", version = "0.11.38" }
31+
synth-frontend = { path = "../synth-frontend", version = "0.11.38" }
32+
synth-synthesis = { path = "../synth-synthesis", version = "0.11.38" }
33+
synth-backend = { path = "../synth-backend", version = "0.11.38" }
3434

3535
# Optional external backends
36-
synth-backend-awsm = { path = "../synth-backend-awsm", version = "0.11.37", optional = true }
37-
synth-backend-wasker = { path = "../synth-backend-wasker", version = "0.11.37", optional = true }
38-
synth-backend-riscv = { path = "../synth-backend-riscv", version = "0.11.37", optional = true }
36+
synth-backend-awsm = { path = "../synth-backend-awsm", version = "0.11.38", optional = true }
37+
synth-backend-wasker = { path = "../synth-backend-wasker", version = "0.11.38", optional = true }
38+
synth-backend-riscv = { path = "../synth-backend-riscv", version = "0.11.38", optional = true }
3939

4040
# Optional verification (requires z3)
41-
synth-verify = { path = "../synth-verify", version = "0.11.37", optional = true, features = ["z3-solver", "arm"] }
41+
synth-verify = { path = "../synth-verify", version = "0.11.38", optional = true, features = ["z3-solver", "arm"] }
4242

4343
# Optional PulseEngine WASM optimizer
4444
# Uncomment when loom crate is available:

crates/synth-frontend/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description = "WASM/WAT parser and module decoder frontend for the Synth compile
1414
# Internal path deps carry an explicit version so `cargo publish`
1515
# can rewrite to the crates.io coordinate. `path` is used for
1616
# in-workspace builds; `version` is what crates.io sees.
17-
synth-core = { path = "../synth-core", version = "0.11.37" }
17+
synth-core = { path = "../synth-core", version = "0.11.38" }
1818

1919
wasmparser.workspace = true
2020
wasm-encoder.workspace = true

0 commit comments

Comments
 (0)