diff options
| author | Maarten de Vries <[email protected]> | 2024-03-22 12:29:01 +0100 |
|---|---|---|
| committer | Maarten de Vries <[email protected]> | 2024-03-22 12:29:01 +0100 |
| commit | a85e9c6e68fbe23aa8f1fc6a1c1e7ca935c1506a (patch) | |
| tree | 112ca4132cb46421286fc3f354a5fa59ce7312a9 /embassy-sync | |
| parent | 29d388042cdbd76d46f66ebe58cc580edb4515f8 (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.toml | 2 |
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/ | |||
| 20 | target = "thumbv7em-none-eabi" | 20 | target = "thumbv7em-none-eabi" |
| 21 | 21 | ||
| 22 | [features] | 22 | [features] |
| 23 | std = [] | 23 | std = ["critical-section/std"] |
| 24 | turbowakers = [] | 24 | turbowakers = [] |
| 25 | 25 | ||
| 26 | [dependencies] | 26 | [dependencies] |
