diff options
| author | Samuel Maier <[email protected]> | 2024-09-05 11:45:49 +0200 |
|---|---|---|
| committer | Samuel Maier <[email protected]> | 2024-09-05 11:45:49 +0200 |
| commit | db00f3f5ecbf7f9a8acb340556b8fc6b156736fa (patch) | |
| tree | bdaf5ea67764d6bac75e51735d8ff0e5de7c59c1 /examples | |
| parent | b277f42c9d681ce3c929858adffcefbdb7adabef (diff) | |
Enable critical-section/std on wasm
Without that feature one will find import errors on opening the webpage, that are hard to debug.
The feature was indirectly enabled in the wasm example, however the reason wasn't documented and thus it was easy to miss.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/wasm/Cargo.toml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/wasm/Cargo.toml b/examples/wasm/Cargo.toml index 9bd37550c..75de079b7 100644 --- a/examples/wasm/Cargo.toml +++ b/examples/wasm/Cargo.toml | |||
| @@ -16,7 +16,6 @@ wasm-logger = "0.2.0" | |||
| 16 | wasm-bindgen = "0.2" | 16 | wasm-bindgen = "0.2" |
| 17 | web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] } | 17 | web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] } |
| 18 | log = "0.4.11" | 18 | log = "0.4.11" |
| 19 | critical-section = { version = "1.1", features = ["std"] } | ||
| 20 | 19 | ||
| 21 | [profile.release] | 20 | [profile.release] |
| 22 | debug = 2 | 21 | debug = 2 |
