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.
std
implementation, panicking inside the critical_section::with()
closure no longer accidentally leaves the critical section locked (#26).std::sync::Mutex
, enabled by the std
Cargo feature.1.54
when std
feature is disabled, 1.63
when enabled.extern fn
s to avoid clash with critical-section 0.2.Breaking changes:
custom_impl!
to set_impl!
.RawRestoreState
type alias for impl writers.()
. (previously it was fixed to u8
.)CriticalSection
and Mutex
types, instead of reexporting them from bare_metal
.std
implementation to allow reentrant (nested) critical sections. This would previously deadlock.#[vcfg]
for wasm
targets.wasm
targets.std
, based on a global Mutex.CriticalSection<'_>
instead of &CriticalSection<'_>