Skip to content

Commit 010e480

Browse files
authored
Merge branch 'main' into deps
2 parents c51fba1 + 3eeb42f commit 010e480

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

crates/core/Cargo.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,11 @@ zstd = "0.13.0"
118118
[target.'cfg(not(windows))'.dependencies]
119119
sha2 = { version = "0.10", features = ["asm"] }
120120

121-
[target.'cfg(all(windows, not(target_env="gnu")))'.dependencies]
122-
# unfortunately, the asm extensions do not build on MSVC, see https://github.com/RustCrypto/asm-hashes/issues/17
121+
[target.'cfg(windows)'.dependencies]
122+
# unfortunately, the asm extensions do not build on Windows, see https://github.com/RustCrypto/asm-hashes/issues/17
123+
# and https://github.com/RustCrypto/asm-hashes/pull/issues/78
123124
sha2 = "0.10"
124125

125-
[target.'cfg(all(windows, target_env="gnu"))'.dependencies]
126-
sha2 = { version = "0.10", features = ["asm"] }
127-
128126
[target.'cfg(not(any(windows, target_os="openbsd")))'.dependencies]
129127
# for local source/destination
130128
xattr = "1"

0 commit comments

Comments
 (0)