Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--bin flag support? #1961

Open
scullionw opened this issue Nov 5, 2024 · 1 comment
Open

--bin flag support? #1961

scullionw opened this issue Nov 5, 2024 · 1 comment

Comments

@scullionw
Copy link

scullionw commented Nov 5, 2024

i have a crate that has two binaries in mycrate/src/bin/executable-a and mycrate/src/bin/executable-b

with cargo install i could cargo install --git XXX mycrate --bin executable-a

but the flag doesn't seem to exist with binstall, so we get failing installs with cargo binstall but not cargo install (since it requires both binaries but we only build one of the two binaries in our github releases)

ERROR resolve: When resolving gtfsrt-analyzer bin gtfsrt-analyzer-server is not found. This binary is not optional so it must be included in the archive, please contact with upstream to fix this issue.
 WARN resolve: Error while downloading and extracting from fetcher github.com: failed to find or install binaries: bin file /usr/local/bin/cargo-binstallQnXMs8/bin-gtfsrt-analyzer-aarch64-apple-darwin-GhCrateMeta/gtfsrt-analyzer-server not found
@NobodyXu
Copy link
Member

NobodyXu commented Nov 5, 2024

Thank you for reporting!

I would welcome any PR for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants