Skip to content

Commit

Permalink
Statically link C runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipK committed May 31, 2022
1 parent 52206c0 commit ee737e6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .cargo/config
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[target.x86_64-pc-windows-gnu]
linker = "/usr/bin/x86_64-w64-mingw32-gcc"
ar = "/usr/x86_64-w64-mingw32/bin/ar"
ar = "/usr/x86_64-w64-mingw32/bin/ar"

[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "boilr"
version = "1.3.14"
version = "1.3.15"

[dependencies]
base64 = "^0.13.0"
Expand Down Expand Up @@ -59,3 +59,5 @@ winres = "^0.1"
[target."cfg(windows)".dependencies]
winreg = "^0.10.1"

[profile.release]
incremental = true

0 comments on commit ee737e6

Please sign in to comment.