From e49ac0ca5464c96de3166e2a1e374d104ae06cd4 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 8 Oct 2026 15:51:30 -0700 Subject: [PATCH] bump rusty_alloc to =2.2.5 Part of the portfolio-wide rusty_alloc 2.2.5 rollout. This repository sits in a dependency cycle, so remade-updater's wave planner excludes it; the bump is the same one the planned repositories received. - rusty_alloc-api (and rusty_alloc where pinned in lockstep) -> 2.2.5; Cargo.lock moves only the allocator crates (plus portable-atomic, which rusty_alloc 2.x adds behind a target gate: targets without 64-bit atomics). - Where a 1.x pin used `default-features = false`, `features = ["std"]` is added: on 1.x that flag still meant the full crate, on 2.x it selects the no_std single-heap profile (rusty_alloc 2.0.0 changelog, "Breaking"). - 2.2.5 fixes 2.2.1-2.2.4 failing to build in an MSVC consumer that unwinds with LTO. Checked locally: the allocator seam crate builds (`cargo check --all-targets`). Co-Authored-By: Claude Opus 5.5 --- Cargo.lock | 15 +++++++++++---- crates/rusty_time-alloc/Cargo.toml | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a7a4399..c2a7c21 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1613,6 +1613,12 @@ dependencies = [ "universal-hash 0.6.1", ] +[[package]] +name = "portable-atomic" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" + [[package]] name = "postcard" version = "1.1.3" @@ -1905,19 +1911,20 @@ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" [[package]] name = "rusty_alloc" -version = "1.1.6" +version = "2.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c93620fee9935a120a50df2086fe48fa072f7d391f129a5e04bf20ea9b83097d" +checksum = "c12ed1752127ac2fabc5bc5aed934055f4be5f093885d830a66686bff4cd7668" dependencies = [ "libc", + "portable-atomic", "windows-sys 0.60.2", ] [[package]] name = "rusty_alloc-api" -version = "1.1.6" +version = "2.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05ce52d7f72842a590e4588013d70ea02d27edbf6b6af9bc193f6e1ac173845a" +checksum = "a68d299fc4818e1b26164556504f28240de294ea709c519ec465add9238f30f7" dependencies = [ "rusty_alloc", ] diff --git a/crates/rusty_time-alloc/Cargo.toml b/crates/rusty_time-alloc/Cargo.toml index 901fc75..98b2777 100644 --- a/crates/rusty_time-alloc/Cargo.toml +++ b/crates/rusty_time-alloc/Cargo.toml @@ -16,4 +16,4 @@ categories = ["memory-management", "no-std"] workspace = true [dependencies] -rusty_alloc-api = "=1.1.6" +rusty_alloc-api = "=2.2.5"