Skip to content

Commit 0887602

Browse files
committed
Release 0.3.0
1 parent b9a7aad commit 0887602

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,18 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
1010

1111
## [Unreleased]
1212

13-
- Remove `parking_lot` feature to support the use of this crate within global allocators.
13+
## [0.3.0] - 2022-03-25
1414

1515
- Support 128-bit atomics for s390x (currently nightly-only).
1616

1717
- Add `AtomicF{32,64}::fetch_abs`.
1818

1919
- Add `#[must_use]` to constructors.
2020

21+
- Use 128-bit atomic operation mappings same as LLVM on aarch64.
22+
23+
- Remove `parking_lot` optional feature to allow the use of this crate within global allocators.
24+
2125
## [0.2.1] - 2022-03-17
2226

2327
- Implement aarch64 outline-atomics.
@@ -54,7 +58,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
5458

5559
Initial release
5660

57-
[Unreleased]: https://github.com/taiki-e/portable-atomic/compare/v0.2.1...HEAD
61+
[Unreleased]: https://github.com/taiki-e/portable-atomic/compare/v0.3.0...HEAD
62+
[0.3.0]: https://github.com/taiki-e/portable-atomic/compare/v0.2.1...v0.3.0
5863
[0.2.1]: https://github.com/taiki-e/portable-atomic/compare/v0.2.0...v0.2.1
5964
[0.2.0]: https://github.com/taiki-e/portable-atomic/compare/v0.1.4...v0.2.0
6065
[0.1.4]: https://github.com/taiki-e/portable-atomic/compare/v0.1.3...v0.1.4

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "portable-atomic"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
edition = "2018"
55
rust-version = "1.34"
66
license = "Apache-2.0 OR MIT"

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ On x86_64, when the `outline-atomics` optional feature is not enabled and `cmpxc
6767

6868
This is intentionally not an optional feature. (If this is an optional feature, dependencies can implicitly enable the feature, resulting in the use of unsound code without the end-user being aware of it.)
6969

70+
Enabling this cfg for targets that have atomic CAS will result in a compile error.
71+
7072
## Related Projects
7173

7274
- [atomic-maybe-uninit]: Atomic operations on potentially uninitialized integers.

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ On x86_64, when the `outline-atomics` optional feature is not enabled and `cmpxc
5959
6060
This is intentionally not an optional feature. (If this is an optional feature, dependencies can implicitly enable the feature, resulting in the use of unsound code without the end-user being aware of it.)
6161
62+
Enabling this cfg for targets that have atomic CAS will result in a compile error.
63+
6264
## Related Projects
6365
6466
- [atomic-maybe-uninit]: Atomic operations on potentially uninitialized integers.

0 commit comments

Comments
 (0)