From 02b7cf9197b6593083dc301e83dc8d71a4abd7ba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Sep 2026 22:20:19 +0000 Subject: [PATCH 1/2] chore: release v2.0.1 --- Cargo.lock | 12 ++++++------ Cargo.toml | 2 +- crates/rusty_alloc/CHANGELOG.md | 10 ++++++++++ crates/rusty_alloc_api/Cargo.toml | 2 +- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5c97113..147b5a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -275,7 +275,7 @@ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" [[package]] name = "rusty_alloc" -version = "2.0.0" +version = "2.0.1" dependencies = [ "libc", "loom", @@ -286,14 +286,14 @@ dependencies = [ [[package]] name = "rusty_alloc-api" -version = "2.0.0" +version = "2.0.1" dependencies = [ "rusty_alloc", ] [[package]] name = "rusty_alloc-bench" -version = "2.0.0" +version = "2.0.1" dependencies = [ "libloading", "rusty_alloc", @@ -302,14 +302,14 @@ dependencies = [ [[package]] name = "rusty_alloc-ffi" -version = "2.0.0" +version = "2.0.1" dependencies = [ "rusty_alloc", ] [[package]] name = "rusty_alloc-override" -version = "2.0.0" +version = "2.0.1" dependencies = [ "rusty_alloc", "rusty_alloc-ffi", @@ -317,7 +317,7 @@ dependencies = [ [[package]] name = "rusty_alloc-wasm" -version = "2.0.0" +version = "2.0.1" dependencies = [ "rusty_alloc", ] diff --git a/Cargo.toml b/Cargo.toml index fa715fe..7a1743a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -132,7 +132,7 @@ members = [ # different files that never got the section. Fixed here, in both, and # verified by extracting the packaged `.crate` before publishing rather than # checking the live page afterwards. -version = "2.0.0" +version = "2.0.1" edition = "2024" # MSRV. Declared for the first time in 1.0.1 because this release genuinely # needs it: `asm!` label blocks (`asm_goto`, stable 1.87) carry the free path's diff --git a/crates/rusty_alloc/CHANGELOG.md b/crates/rusty_alloc/CHANGELOG.md index f153d3f..6e34561 100644 --- a/crates/rusty_alloc/CHANGELOG.md +++ b/crates/rusty_alloc/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.1](https://github.com/Remade-With-Rust/rusty_alloc/compare/rusty_alloc-v2.0.0...rusty_alloc-v2.0.1) - 2026-09-08 + +### Fixed + +- *(prim)* refuse a region that cannot hold a segment, and diagnose reentrancy + +### Other + +- *(deps)* pull portable-atomic only where it is reachable + ### Added - `prim::fixed::MIN_REGION` and `prim::fixed::usable_bytes(base, len)` — a diff --git a/crates/rusty_alloc_api/Cargo.toml b/crates/rusty_alloc_api/Cargo.toml index 0d75c8a..7d9d1d7 100644 --- a/crates/rusty_alloc_api/Cargo.toml +++ b/crates/rusty_alloc_api/Cargo.toml @@ -14,7 +14,7 @@ readme = "README.md" [dependencies] # A published crate needs a VERSION alongside the path: the path is what the # workspace builds against, the version is what crates.io resolves. -rusty_alloc = { path = "../rusty_alloc", version = "2.0.0", default-features = false } +rusty_alloc = { path = "../rusty_alloc", version = "2.0.1", default-features = false } [features] # Mirrors the core's (P3, docs/plans/small-metal.md). Default-on, so every From 44723938ffc52240b65af2dc2de4d3c413c813f9 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 8 Sep 2026 15:25:16 -0700 Subject: [PATCH 2/2] docs(changelog): merge the duplicated 2.0.1 sections release-plz inserts its generated block above a hand-written [Unreleased] section, which left 2.0.1 with two `### Fixed` headings and the detailed notes orphaned beneath the generated one-liners. Merged into a single coherent 2.0.1 with Added / Fixed / Changed, and the portable-atomic change written out rather than left as a bare commit subject under `### Other`. The changelog is what a consumer reads when a major has just broken them; it is worth the two minutes. Co-Authored-By: Claude Opus 5 (1M context) --- crates/rusty_alloc/CHANGELOG.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/crates/rusty_alloc/CHANGELOG.md b/crates/rusty_alloc/CHANGELOG.md index 6e34561..ac47a9d 100644 --- a/crates/rusty_alloc/CHANGELOG.md +++ b/crates/rusty_alloc/CHANGELOG.md @@ -9,14 +9,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [2.0.1](https://github.com/Remade-With-Rust/rusty_alloc/compare/rusty_alloc-v2.0.0...rusty_alloc-v2.0.1) - 2026-09-08 -### Fixed - -- *(prim)* refuse a region that cannot hold a segment, and diagnose reentrancy - -### Other - -- *(deps)* pull portable-atomic only where it is reachable - ### Added - `prim::fixed::MIN_REGION` and `prim::fixed::usable_bytes(base, len)` — a @@ -51,6 +43,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 All four reported by the first outside firmware to adopt 2.0.0 (`docs/plans/embedded-adoption.md`). +### Changed + +- `portable-atomic` is `optional` and enabled by `std`, so it is pulled only + where it is reachable — a target without 64-bit atomics that also has `std`. + A `no_std` firmware was fetching and compiling a crate it then discarded at + link time. Costs nothing on the device either way; it buys an accurate + dependency graph in an SBOM or a `cargo audit`. + ## [2.0.0](https://github.com/Remade-With-Rust/rusty_alloc/compare/rusty_alloc-v1.1.6...rusty_alloc-v2.0.0) - 2026-09-07 ### Breaking