Skip to content

Commit f669323

Browse files
committed
Fix portable-atomic-x feature not enabling portable-atomic.
1 parent ac26e82 commit f669323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ version = "0.8.0"
2121
portable-atomic = ["dep:portable-atomic"]
2222

2323
# Enable polyfilling of atomics via portable-atomic, using critical section for locking
24-
portable-atomic-critical-section = ["dep:portable-atomic", "portable-atomic?/critical-section"]
24+
portable-atomic-critical-section = ["dep:portable-atomic", "portable-atomic", "portable-atomic?/critical-section"]
2525

2626
# Enable polyfilling of atomics via portable-atomic, using disabling interrupts for locking.
2727
# WARNING: this is only sound for single-core bare-metal privileged-mode targets!
28-
portable-atomic-unsafe-assume-single-core = ["dep:portable-atomic", "portable-atomic?/unsafe-assume-single-core"]
28+
portable-atomic-unsafe-assume-single-core = ["dep:portable-atomic", "portable-atomic", "portable-atomic?/unsafe-assume-single-core"]
2929

3030
# implement serde traits.
3131
serde = ["dep:serde"]

0 commit comments

Comments
 (0)