Windows: `_ensure-sidecar-stubs` Justfile recipe omits the `.exe` suffix Tauri requires for externalBin
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Domain
- build-system
Research direction
Open the root Justfile and inspect the _ensure-sidecar-stubs recipe, then compare its generated names with Tauri's Windows externalBin requirement. Verify that Windows stubs include .exe while other host triples remain unchanged, and run a dependent recipe such as desktop-tauri-check on Windows to confirm the validation no longer fails.
Written by the indexing model from the issue text.
Description
Description
The _ensure-sidecar-stubs recipe in the root Justfile creates sidecar
placeholder files as:
TARGET=$(rustc -vV | sed -n 's|host: ||p')
for bin in buzz-acp buzz-agent buzz-dev-mcp git-credential-nostr buzz; do
touch "desktop/src-tauri/binaries/${bin}-${TARGET}"
done
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:
EXT=""
case "$TARGET" in *windows*) EXT=".exe";; esac
for bin in buzz-acp buzz-agent buzz-dev-mcp git-credential-nostr buzz; do
touch "desktop/src-tauri/binaries/${bin}-${TARGET}${EXT}"
done
(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
- Buzz @ v0.4.23,
just1.57
- Dominant language
- Rust
- Stars
- 33.7k
- Forks
- 4.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 239
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from block/buzz
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
workflow_sink's mention parser never masks code regions — @name inside a code span wakes the agent Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 Half a day Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bitcoindevkit/bdk-ffi#1125 ·