diff options
| author | James Munns <[email protected]> | 2025-07-15 13:33:51 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2025-09-11 14:45:06 +0200 |
| commit | 20b56b0fe0570f0d1e8c61d23d067627a4dfc165 (patch) | |
| tree | 19f6c64f773f013d870c0f0feec8080adc2fe910 /embassy-executor/Cargo.toml | |
| parent | cf171ad6d9c0a7487400beb9e4a436e5c1b64e19 (diff) | |
Update to use critical-section::Mutex instead of mutex::BlockingMutex
This allows the scheduler to better collaborate with existing critical sections
Diffstat (limited to 'embassy-executor/Cargo.toml')
| -rw-r--r-- | embassy-executor/Cargo.toml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index 01c028704..290e67bce 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml | |||
| @@ -81,10 +81,6 @@ avr-device = { version = "0.7.0", optional = true } | |||
| 81 | version = "0.3.4" | 81 | version = "0.3.4" |
| 82 | features = ["no-cache-pad"] | 82 | features = ["no-cache-pad"] |
| 83 | 83 | ||
| 84 | # Note: this is ONLY a dependency when the target does NOT have atomics | ||
| 85 | [target.'cfg(not(target_has_atomic="ptr"))'.dependencies.mutex] | ||
| 86 | version = "1.0" | ||
| 87 | |||
| 88 | [dev-dependencies] | 84 | [dev-dependencies] |
| 89 | critical-section = { version = "1.1", features = ["std"] } | 85 | critical-section = { version = "1.1", features = ["std"] } |
| 90 | trybuild = "1.0" | 86 | trybuild = "1.0" |
