Add static vc runtime

This commit is contained in:
ByteDream 2022-11-30 19:25:21 +01:00
parent 6ecd23bcd0
commit 12d49a27e4
3 changed files with 9 additions and 3 deletions

View file

@ -28,6 +28,9 @@ clap_mangen = "0.2"
# specified in this Cargo.toml [features].
crunchy-cli-core = { path = "./crunchy-cli-core", features = ["static-curl", "static-ssl"] }
[target.'cfg(all(windows, target_env = "msvc"))'.build-dependencies]
static_vcruntime = "2.0"
[profile.release]
strip = true
opt-level = "z"