mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-28 04:50:34 +00:00
Fix portable-atomic-x feature not enabling portable-atomic.
This commit is contained in:
parent
ac26e82503
commit
f66932381c
@ -21,11 +21,11 @@ version = "0.8.0"
|
||||
portable-atomic = ["dep:portable-atomic"]
|
||||
|
||||
# Enable polyfilling of atomics via portable-atomic, using critical section for locking
|
||||
portable-atomic-critical-section = ["dep:portable-atomic", "portable-atomic?/critical-section"]
|
||||
portable-atomic-critical-section = ["dep:portable-atomic", "portable-atomic", "portable-atomic?/critical-section"]
|
||||
|
||||
# Enable polyfilling of atomics via portable-atomic, using disabling interrupts for locking.
|
||||
# WARNING: this is only sound for single-core bare-metal privileged-mode targets!
|
||||
portable-atomic-unsafe-assume-single-core = ["dep:portable-atomic", "portable-atomic?/unsafe-assume-single-core"]
|
||||
portable-atomic-unsafe-assume-single-core = ["dep:portable-atomic", "portable-atomic", "portable-atomic?/unsafe-assume-single-core"]
|
||||
|
||||
# implement serde traits.
|
||||
serde = ["dep:serde"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user