mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 04:40:39 +00:00
Merge pull request #3312 from 9SMTM6/fix_wasm_linking
Enable critical-section/std on wasm
This commit is contained in:
commit
b8fa5cdf06
@ -79,7 +79,7 @@ arch-cortex-m = ["_arch", "dep:cortex-m"]
|
|||||||
## RISC-V 32
|
## RISC-V 32
|
||||||
arch-riscv32 = ["_arch"]
|
arch-riscv32 = ["_arch"]
|
||||||
## WASM
|
## WASM
|
||||||
arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys"]
|
arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys", "critical-section/std"]
|
||||||
## AVR
|
## AVR
|
||||||
arch-avr = ["_arch", "dep:portable-atomic", "dep:avr-device"]
|
arch-avr = ["_arch", "dep:portable-atomic", "dep:avr-device"]
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@ wasm-logger = "0.2.0"
|
|||||||
wasm-bindgen = "0.2"
|
wasm-bindgen = "0.2"
|
||||||
web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] }
|
web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] }
|
||||||
log = "0.4.11"
|
log = "0.4.11"
|
||||||
critical-section = { version = "1.1", features = ["std"] }
|
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = 2
|
debug = 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user