aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync
diff options
context:
space:
mode:
authorMaarten de Vries <[email protected]>2024-03-22 12:29:01 +0100
committerMaarten de Vries <[email protected]>2024-03-22 12:29:01 +0100
commita85e9c6e68fbe23aa8f1fc6a1c1e7ca935c1506a (patch)
tree112ca4132cb46421286fc3f354a5fa59ce7312a9 /embassy-sync
parent29d388042cdbd76d46f66ebe58cc580edb4515f8 (diff)
Forward the "std" feature to the critical-section crate in embassy-sync.
Otherwise, using embassy-sync in unit tests will result in linker errors when using the CriticalSectionRawMutex.
Diffstat (limited to 'embassy-sync')
-rw-r--r--embassy-sync/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-sync/Cargo.toml b/embassy-sync/Cargo.toml
index 85673026c..aaf6fab1d 100644
--- a/embassy-sync/Cargo.toml
+++ b/embassy-sync/Cargo.toml
@@ -20,7 +20,7 @@ src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-sync/
20target = "thumbv7em-none-eabi" 20target = "thumbv7em-none-eabi"
21 21
22[features] 22[features]
23std = [] 23std = ["critical-section/std"]
24turbowakers = [] 24turbowakers = []
25 25
26[dependencies] 26[dependencies]