Skip to content

Commit

Permalink
Try fixing static linking to VC Runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
gleocadie committed Oct 28, 2024
1 parent c2e963d commit 8ac0bb3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions builder/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build]
rustflags = ["-C", "relocation-model=pic"]

[target.'cfg(target_os = "windows")']
rustflags = ["-C", "relocation-model=pic", "-C", "target-feature=+crt-static"]

0 comments on commit 8ac0bb3

Please sign in to comment.