Merge pull request #4048 from ariel-os/embassy-time-no-std-critical-section

embassy-time: don't select `critical-section` impl for std
This commit is contained in:
Dario Nieuwenhuis 2025-04-06 22:07:20 +02:00 committed by GitHub
commit f448cfb1df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@ defmt-timestamp-uptime-tus = ["defmt"]
## Create a `MockDriver` that can be manually advanced for testing purposes. ## Create a `MockDriver` that can be manually advanced for testing purposes.
mock-driver = ["tick-hz-1_000_000", "dep:embassy-time-queue-utils"] mock-driver = ["tick-hz-1_000_000", "dep:embassy-time-queue-utils"]
## Create a time driver for `std` environments. ## Create a time driver for `std` environments.
std = ["tick-hz-1_000_000", "critical-section/std", "dep:embassy-time-queue-utils"] std = ["tick-hz-1_000_000", "dep:embassy-time-queue-utils"]
## Create a time driver for WASM. ## Create a time driver for WASM.
wasm = ["dep:wasm-bindgen", "dep:js-sys", "dep:wasm-timer", "tick-hz-1_000_000", "dep:embassy-time-queue-utils"] wasm = ["dep:wasm-bindgen", "dep:js-sys", "dep:wasm-timer", "tick-hz-1_000_000", "dep:embassy-time-queue-utils"]