Repository navigation
Commit 20cd800
Link the VC runtime statically into twcore.exe (#277)
twcore.exe imported VCRUNTIME140.dll, which Windows does not ship: it
comes with the Visual C++ Redistributable, usually installed by some
other program. The desktop installer only carries twcore.exe, so on a
machine without the redistributable the gateway cannot start. CI runners
and most real machines have it installed, which is why nothing showed.
- .cargo/config.toml: +crt-static for windows-msvc targets, so a local
Windows build matches what is released. RUSTFLAGS overrides it, so the
CI test builds stay dynamic; the release workflow does not set it.
- release.yml: a step reads both exes' imports with dumpbin and fails if
any Visual C++ runtime DLL is still there.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 550e6fd commit 20cd800
2 files changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
188 | 213 | | |
189 | 214 | | |
190 | 215 | | |
| |||
0 commit comments