Skip to content

Commit c4a828c

Browse files
committed
Try to fix windows linking error
1 parent 1083845 commit c4a828c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.cargo/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# We want to ensure that all the MSVC dependencies are statically resolved and
2+
# included in the final CLI binary.
3+
# Ref: https://github.com/rust-lang/rust/pull/122268
4+
[target.x86_64-pc-windows-msvc]
5+
rustflags = ["-C", "target-feature=+crt-static"]

0 commit comments

Comments
 (0)