Skip to content

Commit 7bacdfd

Browse files
committed
build: static link against windows
1 parent 50d1c0b commit 7bacdfd

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.cargo/config

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ linker = "aarch64-linux-gnu-gcc"
55
linker = "mipsel-linux-gnu-gcc"
66

77
[target.mips64-unknown-linux-gnuabi64]
8-
linker = "mips64-linux-gnuabi64-gcc"
8+
linker = "mips64-linux-gnuabi64-gcc"
9+
10+
[target.'cfg(all(windows, target_env = "msvc"))']
11+
rustflags = ["-C", "target-feature=+crt-static"]
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PackageIdentifier: Zxilly.NotifyCli
2-
PackageVersion: 0.1.0
2+
PackageVersion: 0.1.1
33
InstallerLocale: en-US
44
InstallerType: portable
55
InstallModes:
@@ -9,10 +9,10 @@ Commands:
99
ReleaseDate: 2022-11-11
1010
Installers:
1111
- Architecture: x64
12-
InstallerUrl: https://github.com/ZNotify/cli/releases/download/latest/znotify-x86_64-pc-windows-msvc.exe
12+
InstallerUrl: https://github.com/ZNotify/cli/releases/download/0.1.1/znotify-x86_64-pc-windows-msvc.exe
1313
InstallerSha256: FD9599A14EC032FED1D41321466D01EC23826FF1592DBD03A97EC16D6541CDAA
1414
- Architecture: arm64
15-
InstallerUrl: https://github.com/ZNotify/cli/releases/download/latest/znotify-aarch64-pc-windows-msvc.exe
15+
InstallerUrl: https://github.com/ZNotify/cli/releases/download/0.1.1/znotify-aarch64-pc-windows-msvc.exe
1616
InstallerSha256: C6D03959978B374991CD3CDC53BB788D7D1B977D959DD3D76A68792F08F7A9BA
1717
ManifestType: installer
1818
ManifestVersion: 1.2.0

winget/Zxilly/NotifyCli/0.1.0/Zxilly.NotifyCli.locale.en-US.yaml renamed to winget/Zxilly/NotifyCli/0.1.1/Zxilly.NotifyCli.locale.en-US.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PackageIdentifier: Zxilly.NotifyCli
2-
PackageVersion: 0.1.0
2+
PackageVersion: 0.1.1
33
PackageLocale: en-US
44
Publisher: ZNotify
55
PublisherUrl: https://github.com/ZNotify
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PackageIdentifier: Zxilly.NotifyCli
2-
PackageVersion: 0.1.0
2+
PackageVersion: 0.1.1
33
DefaultLocale: en-US
44
ManifestType: version
55
ManifestVersion: 1.2.0

0 commit comments

Comments
 (0)