Skip to content

Commit 43c8f9a

Browse files
committed
Prepare for linebender_resource_handle v0.1.1 release
Signed-off-by: Nico Burns <[email protected]>
1 parent 4220ed0 commit 43c8f9a

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

CHANGELOG.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,21 @@ Subheadings to categorize changes are `added, changed, deprecated, removed, fixe
88

99
# Changelog
1010

11-
The latest published Linebender Resource Handle release is [0.1.0](#010-2025-09-09) which was released on 2025-09-09.
12-
You can find its changes [documented below](#010-2025-09-09).
11+
The latest published Linebender Resource Handle release is [0.1.1](#011-2025-09-15) which was released on 2025-09-15.
12+
You can find its changes [documented below](#011-2025-09-15).
1313

1414
## [Unreleased][]
1515

1616
This release has an [MSRV][] of 1.70.
1717

18+
## [0.1.1] (2025-09-15)
19+
20+
This release has an [MSRV][] of 1.70.
21+
22+
### Fixes
23+
24+
- Fix: support compilation on platforms without 64-bit atomics (32-bit platforms) ([#11][] by [@nicoburns][])
25+
1826
## 0.1.0 (2025-09-09)
1927

2028
This release has an [MSRV][] of 1.70.
@@ -28,7 +36,9 @@ This is the initial release.
2836
[@waywardmonkeys]: https://github.com/waywardmonkeys
2937

3038
[#5]: https://github.com/linebender/raw_resource_handle/pull/5
39+
[#11]: https://github.com/linebender/raw_resource_handle/pull/11
3140

32-
[Unreleased]: https://github.com/linebender/anymore/compare/v0.1.0...HEAD
41+
[Unreleased]: https://github.com/linebender/anymore/compare/v0.1.1...HEAD
42+
[0.1.1]: https://github.com/linebender/parley/compare/v0.1.0...v0.1.1
3343

3444
[MSRV]: README.md#minimum-supported-rust-version-msrv

Cargo.lock

Lines changed: 1 addition & 1 deletion
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
@@ -1,6 +1,6 @@
11
[package]
22
name = "linebender_resource_handle"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
license = "Apache-2.0 OR MIT"
55
edition = "2021"
66
description = "Raw resource handle for immutable blobs with dynamic lifetimes."

src/blob.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ impl<T> Blob<T> {
9595
pub fn new(data: Arc<dyn AsRef<[T]> + Send + Sync>) -> Self {
9696
Self {
9797
data,
98-
#[allow(clippy::useless_conversion)] // Conversion is not useless on 32-bit platforms and is harmless on 64-bit platforms
99-
// Overflow: We expect running this code on 32-bit targets to be rare enough in practise that we don't handle overflow.
100-
// Impossible on 64-bit as counter is only ever incremented by 1.
98+
#[allow(clippy::useless_conversion)] // Conversion is not useless on 32bit platforms and is harmless on 64bit platforms
10199
id: ID_COUNTER.fetch_add(1, Ordering::Relaxed).into(),
102100
}
103101
}

0 commit comments

Comments
 (0)