The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
fix(release): Windows resource monitor starts without the Visual C++ runtime (#39683)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Jex committed
Nov 20, 2026 at 20:46 UTC
55c4713d083c914c72e3fe24d8e4c8e79b3637ca
2 files changed
+7
-1
.cargo/config.toml
new
+6
@@ -0,0 +1,6 @@
1
+# Link the MSVC C runtime statically, so Windows binaries such as
2
+# t3-resource-monitor.exe start on machines without the Visual C++
3
+# Redistributable. Cargo reads this file for every build started from the
4
+# repository root, including `--manifest-path` builds of native/* crates.
5
+[target.'cfg(all(windows, target_env = "msvc"))']
6
+rustflags = ["-C", "target-feature=+crt-static"]
.github/workflows/release-desktop.yml
+1
-1
@@ -212,7 +212,7 @@ jobs:
212
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
213
with:
214
path: native/resource-monitor/target/${{ inputs.rust_target }}/release/t3-resource-monitor${{ inputs.platform == 'win' && '.exe' || '' }}
215
- key: resource-monitor-${{ inputs.rust_target }}-${{ hashFiles('native/resource-monitor/Cargo.lock', 'native/resource-monitor/Cargo.toml', 'native/resource-monitor/src/**') }}
215
+ key: resource-monitor-${{ inputs.rust_target }}-${{ hashFiles('.cargo/config.toml', 'native/resource-monitor/Cargo.lock', 'native/resource-monitor/Cargo.toml', 'native/resource-monitor/src/**') }}
216
217
- name: Cache Linux capture helpers
218
if: inputs.platform == 'linux'