Make helwasm compilable for wasm32-unknown-unknown target.
This commit is contained in:
+5
-1
@@ -23,9 +23,13 @@ shlex = "1.1.0"
|
||||
shellexpand = "3.0.0"
|
||||
scopeguard = "1.1.0"
|
||||
|
||||
[target.'cfg(not(wasm))'.dependencies]
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
chrono = "0.4.23"
|
||||
rand = "0.8.5"
|
||||
home = "0.5.4"
|
||||
rustyline = "10.0.0"
|
||||
rpassword = "7.2.0"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-bindgen = "0.2.83"
|
||||
chrono = { version = "0.4.23", features = ["wasmbind"] }
|
||||
|
||||
Reference in New Issue
Block a user