Skip to content

Commit

Permalink
fix: enable static link for windows-msvc (#308)
Browse files Browse the repository at this point in the history
* static link for windows

* add windows i686 for static link
  • Loading branch information
Zagrios authored Mar 7, 2024
1 parent f4751cf commit 83517ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ rustflags = [
[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"
rustflags = ["-C", "target-feature=-crt-static"]

[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]

[target.i686-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]

0 comments on commit 83517ce

Please sign in to comment.