You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows: _ensure-sidecar-stubs Justfile recipe omits the .exe suffix Tauri requires for externalBin #2492
On Windows the host triple is x86_64-pc-windows-msvc, and Tauri's externalBin validation expects sidecars named binaries/<bin>-x86_64-pc-windows-msvc.exe. The stubs are created without the .exe suffix, so Tauri rejects them and every recipe that depends on _ensure-sidecar-stubs (dev, desktop-tauri-check, desktop-tauri-clippy, desktop-tauri-test, desktop-standalone, staging) fails on Windows even
though the code itself builds fine.
Suggested fix
Append .exe when the host triple contains windows:
(For actual bundling, empty touch-ed stubs are not runnable, of course — for
release builds the real target/…/<bin>.exe outputs get copied into place,
which is what desktop-release-build does on other platforms. This issue is
only about the stub naming that gates the compile/check recipes.)
Environment
Windows 11 Pro 25H2 (build 26200), Git Bash available for Justfile shebang recipes
Activity
chessing234 commentedon Jul 23, 2026
Fixed in #2496 — Windows sidecar stubs now get the
.exesuffix.vijayd3shmukh commentedon Jul 23, 2026
👀
fix(desktop): stage real sidecar binaries in _ensure-sidecar-stubs
fix(dev): add .exe to Windows sidecar stub paths
fix(dev): add .exe to Windows sidecar stub paths
fix(acp): kill the whole process tree on Windows, not just the wrapper
fix(acp): name the method in request-timeout errors
fix(dev): add .exe to Windows sidecar stub paths
fix(dev): add .exe to Windows sidecar stub paths