fix: exclude asm for msvc (#679)
This commit is contained in:
parent
275f7179bf
commit
ab8b5233d2
|
@ -33,10 +33,10 @@ tracing = "0.1.29"
|
||||||
num_cpus = "1.13.0"
|
num_cpus = "1.13.0"
|
||||||
tiny-keccak = { version = "2.0.2", default-features = false }
|
tiny-keccak = { version = "2.0.2", default-features = false }
|
||||||
|
|
||||||
[target.'cfg(not(any(target_arch = "x86", target_arch = "x86_64")))'.dependencies]
|
[target.'cfg(any(not(any(target_arch = "x86", target_arch = "x86_64")), target_env = "msvc"))'.dependencies]
|
||||||
sha2 = { version = "0.9.8", default-features = false }
|
sha2 = { version = "0.9.8", default-features = false }
|
||||||
|
|
||||||
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
|
[target.'cfg(all(any(target_arch = "x86", target_arch = "x86_64"), not(target_env = "msvc")))'.dependencies]
|
||||||
sha2 = { version = "0.9.8", default-features = false, features = ["asm"] }
|
sha2 = { version = "0.9.8", default-features = false, features = ["asm"] }
|
||||||
|
|
||||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||||
|
|
Loading…
Reference in New Issue