All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v0.1.5 - 2022-12-10
As of v0.1.5
, this crate is deprecated in favor of portable-atomic
v0.3.16
or later. Only bugfix/patch releases will be made going forward.
- Add
#[repr(C, align(N))]
to atomic types for parity with types provided inlibcore
. - Fix compilation on non-MSP430 targets by using atomic types in
libcore
. - Update README.md with information comparing this crate to the similar
use-case
portable-atomic
andatomic-polyfill
.
v0.1.4 - 2022-01-27
- Use Rust's inline
asm
macro instead ofllvm_asm
; the latter was removed fromrustc
.
v0.1.3 - 2021-05-17
- Remove
const_fn
feature gate, as it was removed fromrustc
afterv1.53.0
.
v0.1.2 - 2020-06-09
- Use
llvm_asm
instead ofasm
v0.1.1 - 2019-12-16
-
Expose AtomicOperations trait for public use
-
Add atomic_clear() that uses bic instruction
-
Make ASM functions always inline
Initial release