Skip to content

Commit 54fa71e

Browse files
committed
Add feature require-cas to portable-atomic
1 parent 33f5255 commit 54fa71e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embedded-hal-bus/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ embedded-hal = { version = "1.0.0", path = "../embedded-hal" }
3636
embedded-hal-async = { version = "1.0.0", path = "../embedded-hal-async", optional = true }
3737
critical-section = { version = "1.0" }
3838
defmt-03 = { package = "defmt", version = "0.3", optional = true }
39-
portable-atomic = {version = "1", default-features = false}
39+
portable-atomic = {version = "1", default-features = false, features = ["require-cas"]}
4040

4141
[package.metadata.docs.rs]
4242
features = ["std", "async", "atomic-device"]

0 commit comments

Comments
 (0)