cli: static link the crt on windows (#164532)

Fixes #164427
This commit is contained in:
Connor Peet 2022-10-25 00:59:05 -07:00 committed by GitHub
parent a803dc359a
commit ae45b3ca2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
cli/.cargo/config.toml Normal file
View file

@ -0,0 +1,2 @@
[target.'cfg(all(windows, target_env = "msvc"))']
rustflags = ["-C", "target-feature=+crt-static"]