cargo install s3s-fs --features binary
fails on Windows MSVC
#52
Labels
cargo install s3s-fs --features binary
fails on Windows MSVC
#52
We use
s3s-fs
's binary in our project to test our logic during unit testing.Today I was setting up CIs across platforms and the Windows MSVC one failed to
cargo install s3s-fs --features binary
.Digging a little bit, the cause of the issue is the following:
From:
crates/s3s-fs/Cargo.toml
Exposes the following bug: RustCrypto/hashes#315
Which in turn manifests as the following build error:
The good news is that disabling
md5-asm
, (i.e.binary = ["tokio/full", "dep:clap", "dep:tracing-subscriber", "dep:hyper"]
) resolves the issue and it all builds just fine.I couldn't really figure out a way to this in a way that is platform-specific: rust-lang/cargo#1197
The only other way of getting this to work, as far as I know, is to split the binary from
s3s-fs
into its own separate crates3s-fs-bin
and change the install docs to:I think that's pretty complicated though.
Would you take a quick PR to remove the
md-5/asm
feature?Thanks!
The text was updated successfully, but these errors were encountered: