diff options
| author | Ulf Lilleengen <[email protected]> | 2022-08-23 19:55:49 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2022-08-23 20:00:34 +0200 |
| commit | bd4ae2e9526cb66c15b7335cfbc803106637c7e1 (patch) | |
| tree | ab9aaab342dd7a6b32ae0ee2679836ffba9e9638 /embassy-time | |
| parent | 6530c179b2efffa19fe5d7e336837692e0365af4 (diff) | |
Enable 'std' feature on critical-section for WASM
This fixes the WASM support which was failing due to missing
critical-section implementation. This also upgrades the bindgen
dependency and ensures that tooling works.
Diffstat (limited to 'embassy-time')
| -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 161c101fe..f0f622aba 100644 --- a/embassy-time/Cargo.toml +++ b/embassy-time/Cargo.toml | |||
| @@ -49,6 +49,6 @@ critical-section = "1.1" | |||
| 49 | cfg-if = "1.0.0" | 49 | cfg-if = "1.0.0" |
| 50 | 50 | ||
| 51 | # WASM dependencies | 51 | # WASM dependencies |
| 52 | wasm-bindgen = { version = "0.2.76", features = ["nightly"], optional = true } | 52 | wasm-bindgen = { version = "0.2.81", optional = true } |
| 53 | js-sys = { version = "0.3", optional = true } | 53 | js-sys = { version = "0.3", optional = true } |
| 54 | wasm-timer = { version = "0.2.5", optional = true } \ No newline at end of file | 54 | wasm-timer = { version = "0.2.5", optional = true } \ No newline at end of file |
