Skip to content

Commit 5595cd1

Browse files
authored
Merge pull request #269 from anmenaga/static_vcruntime
Static linking the MSVC runtime
2 parents 24d8dee + e4dad01 commit 5595cd1

File tree

8 files changed

+32
-0
lines changed

8 files changed

+32
-0
lines changed

dsc/.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[target.x86_64-pc-windows-msvc]
2+
rustflags = ["-C", "target-feature=+crt-static"]
3+
[target.aarch64-pc-windows-msvc]
4+
rustflags = ["-C", "target-feature=+crt-static"]

dsc_lib/.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[target.x86_64-pc-windows-msvc]
2+
rustflags = ["-C", "target-feature=+crt-static"]
3+
[target.aarch64-pc-windows-msvc]
4+
rustflags = ["-C", "target-feature=+crt-static"]

osinfo/.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[target.x86_64-pc-windows-msvc]
2+
rustflags = ["-C", "target-feature=+crt-static"]
3+
[target.aarch64-pc-windows-msvc]
4+
rustflags = ["-C", "target-feature=+crt-static"]

process/.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[target.x86_64-pc-windows-msvc]
2+
rustflags = ["-C", "target-feature=+crt-static"]
3+
[target.aarch64-pc-windows-msvc]
4+
rustflags = ["-C", "target-feature=+crt-static"]

registry/.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[target.x86_64-pc-windows-msvc]
2+
rustflags = ["-C", "target-feature=+crt-static"]
3+
[target.aarch64-pc-windows-msvc]
4+
rustflags = ["-C", "target-feature=+crt-static"]

tools/dsctest/.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[target.x86_64-pc-windows-msvc]
2+
rustflags = ["-C", "target-feature=+crt-static"]
3+
[target.aarch64-pc-windows-msvc]
4+
rustflags = ["-C", "target-feature=+crt-static"]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[target.x86_64-pc-windows-msvc]
2+
rustflags = ["-C", "target-feature=+crt-static"]
3+
[target.aarch64-pc-windows-msvc]
4+
rustflags = ["-C", "target-feature=+crt-static"]

y2j/.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[target.x86_64-pc-windows-msvc]
2+
rustflags = ["-C", "target-feature=+crt-static"]
3+
[target.aarch64-pc-windows-msvc]
4+
rustflags = ["-C", "target-feature=+crt-static"]

0 commit comments

Comments
 (0)