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.
This commit is contained in:
Maarten de Vries 2024-03-22 12:29:01 +01:00
parent 29d388042c
commit a85e9c6e68

View File

@ -20,7 +20,7 @@ src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-sync/
target = "thumbv7em-none-eabi" target = "thumbv7em-none-eabi"
[features] [features]
std = [] std = ["critical-section/std"]
turbowakers = [] turbowakers = []
[dependencies] [dependencies]