Skip to content

Commit

Permalink
feat: statically link CRT (#17)
Browse files Browse the repository at this point in the history
* feat: statically link CRT

* fix change file

* use astrik version
  • Loading branch information
amrbashir committed Aug 15, 2023
1 parent d846f25 commit 33ea4bc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[build]
target = "i686-pc-windows-msvc"

[target.i686-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
8 changes: 8 additions & 0 deletions .changes/static-crt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"nsis_tauri_utils": "minor"
"nsis_download": "minor"
"nsis_process": "minor"
"nsis_semvercompare": "minor"
---

Statically link CRT.
6 changes: 3 additions & 3 deletions crates/nsis-tauri-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ version = "0.1.1"
crate-type = [ "cdylib" ]

[dependencies]
nsis-download = { path = "../nsis-download" }
nsis-process = { path = "../nsis-process" }
nsis-semvercompare = { path = "../nsis-semvercompare" }
nsis-download = { version = "*", path = "../nsis-download" }
nsis-process = { version = "*", path = "../nsis-process" }
nsis-semvercompare = { version = "*", path = "../nsis-semvercompare" }

0 comments on commit 33ea4bc

Please sign in to comment.