axodotdev / axodotdev/cargo-dist

`.exe` could be added to custom builds if the extension is missing

Open
#1,339 3 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Rust
Stars
2.1k
Forks
149
Avg merge
1d 11h
Merged PRs (30d)
32

Description

Testing out cargo dist on a basic Go project here: https://github.com/alexanderjophus/hello-world-go/tree/005e332f775dd79568c3a94ae192045b786741f2

Note: I haven't developed anything for windows before, so not sure how I should handle .exe, however I _think_ that cargo dist should handle renaming the binary from `my_binary` to `my_binary.exe`.

This was the error from that run: https://github.com/alexanderjophus/hello-world-go/actions/runs/10433209110/job/28894711643

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the linked hello-world-go project and its GitHub Actions run, then trace cargo-dist's custom-build handling for Windows binaries. Done means a custom Windows binary without an extension is given the .exe extension and the linked build completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, rust
Domain
build-system, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.