Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
use +crt-static feature instead of link-arg
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Dec 26, 2023
1 parent 8f6a4ae commit 1c6dfb7
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/Rust/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
# Windows 64 bit programs
[target.x86_64-pc-windows-msvc]
rustflags = [
"-C", "link-arg=libvcruntime.lib"
]

# Windows 32 bit programs
[target.i686-pc-windows-msvc]
rustflags = [
"-C", "link-arg=libvcruntime.lib"
]
[build]
rustflags = ["-C", "target-feature=+crt-static"]

0 comments on commit 1c6dfb7

Please sign in to comment.