fix: specify home-dep as non-wasm instead of x86-only (#645)
This commit is contained in:
parent
8d07610e4a
commit
437f9de92f
|
@ -35,9 +35,11 @@ tracing = "0.1.29"
|
|||
sha2 = { version = "0.9.8", default-features = false }
|
||||
|
||||
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
|
||||
home = "0.5.3"
|
||||
sha2 = { version = "0.9.8", default-features = false, features = ["asm"] }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
home = "0.5.3"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
# NOTE: this enables wasm compatibility for getrandom indirectly
|
||||
getrandom = { version = "0.2", features = ["js"] }
|
||||
|
|
Loading…
Reference in New Issue