Skip to content

chore(deps): rusty_alloc 2.2.0 -> 2.2.5; minor-bump the crates that pin it - #46

Merged
Ttimmahlax merged 1 commit into
masterfrom
chore/rusty-alloc-2.2.5
Oct 8, 2026
Merged

Ttimmahlax merged 1 commit into
masterfrom
chore/rusty-alloc-2.2.5

Conversation

@Ttimmahlax

Copy link
Copy Markdown
Collaborator

Upgrades rusty_alloc and rusty_alloc-api from =2.2.0 to =2.2.5 in every crate that pins them.

Versions

The pin is exact, so a consumer that pins rusty_alloc itself has to move with it. Each crate therefore takes a minor bump:

crate from to
ffai-argus 0.7.5 0.8.0
ffai-argus-wasm 0.1.3 0.2.0
ffai-carmenta 0.11.0 0.12.0
ffai-carmenta-wasm 0.2.3 0.3.0
ffai-cli 0.7.0 0.8.0
ffai-diana 0.7.8 0.8.0
ffai-mercury-wasm 0.1.3 0.2.0
ffai-wasm 0.1.5 0.2.0

Why 2.2.5

  • 2.2.5: builds on MSVC with LTO and panic = "unwind". That is our release profile, and 2.2.1 to 2.2.4 failed to build on it.
  • 2.2.4: freed model memory is no longer stranded after a loader thread exits, and freed huge blocks are purged.
  • 2.2.3: a failed Windows re-commit becomes an allocation failure instead of an access violation.
  • 2.2.1: realloc of a huge block copies only the requested size, start-up makes 12 allocations instead of 263, and a cross-thread double free aborts instead of hanging.

The semver hazard in 2.2.4 is new public fields on Heap. FFai never builds one with a struct literal.

Checks run locally

All pass:

  • workspace cargo check --all-targets;
  • the three blocking clippy gates;
  • cargo check on wasm32-unknown-unknown for the four wasm crates;
  • lib tests for the allocator crates (186 tests);
  • cargo vet and cargo deny;
  • a release build of ffai-cli on x86_64-pc-windows-msvc with our thin-LTO, unwinding profile: it links and runs.

Merging this publishes through release-plz.

🤖 Generated with Claude Code

…in it

Every crate that installs or calls the allocator moves its exact pin to
=2.2.5. The pin is exact, so a consumer that pins rusty_alloc itself must
move too, and each crate takes a minor bump:

  argus 0.8.0, argus-wasm 0.2.0, carmenta 0.12.0, carmenta-wasm 0.3.0,
  cli 0.8.0, diana 0.8.0, mercury-wasm 0.2.0, wasm 0.2.0

2.2.5 is the first version since 2.2.0 that builds on MSVC with LTO and
unwinding. That is our own release profile: a release build of ffai-cli on
x86_64-pc-windows-msvc links and runs on it. 2.2.4 adds public fields to
rusty_alloc::heap::Heap; FFai never builds one with a struct literal.

cargo-vet exemptions move to 2.2.5, and the root CHANGELOG gives the
2026-09-28 release its own dated heading.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@Ttimmahlax
Ttimmahlax merged commit 106730b into master Oct 8, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants