diff options
| author | James Waples <[email protected]> | 2023-07-08 11:20:26 +0100 |
|---|---|---|
| committer | James Waples <[email protected]> | 2023-07-08 11:20:26 +0100 |
| commit | 05c524a7db1ee1ecc5397570a5dd00faf4b7316a (patch) | |
| tree | 71eb1145c7657c23045dcc1dae03a432acb49016 /embassy-time/Cargo.toml | |
| parent | 758a2c528f3a7cf8049a5c62837acfa11cd9ede7 (diff) | |
Enable `critical-section/std` when using `std` feature of `embassy-time`
Diffstat (limited to 'embassy-time/Cargo.toml')
| -rw-r--r-- | embassy-time/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-time/Cargo.toml b/embassy-time/Cargo.toml index 0ff0e3beb..0afb1103d 100644 --- a/embassy-time/Cargo.toml +++ b/embassy-time/Cargo.toml | |||
| @@ -23,7 +23,7 @@ target = "x86_64-unknown-linux-gnu" | |||
| 23 | features = ["nightly", "defmt", "unstable-traits", "std"] | 23 | features = ["nightly", "defmt", "unstable-traits", "std"] |
| 24 | 24 | ||
| 25 | [features] | 25 | [features] |
| 26 | std = ["tick-hz-1_000_000"] | 26 | std = ["tick-hz-1_000_000", "critical-section/std"] |
| 27 | wasm = ["dep:wasm-bindgen", "dep:js-sys", "dep:wasm-timer", "tick-hz-1_000_000"] | 27 | wasm = ["dep:wasm-bindgen", "dep:js-sys", "dep:wasm-timer", "tick-hz-1_000_000"] |
| 28 | 28 | ||
| 29 | # Enable nightly-only features | 29 | # Enable nightly-only features |
