-
Notifications
You must be signed in to change notification settings - Fork 73
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
Can cargo dist build exactly the binary? #1442
Comments
You can try adding a |
@mistydemeo thanks for your suggestion. But it doesn't seem to work. |
At commit tisonkun/morax@f2e8ee7 It failed with https://github.com/tisonkun/morax/actions/runs/11227771504/job/31210572728 It seems that the rdkafka crate still built although all its dependent is excluded by
|
I built a project that has several test-only, non-binary crates.
Now when cargo-dist runs
cargo dist build
, those crates will be built and some of them may fail - https://github.com/tisonkun/morax/actions/runs/11226860397/job/31208119385?pr=9Since those crates have nothing to do with the binary I'd like to release, I wonder if it's possible to exclude their build.
The text was updated successfully, but these errors were encountered: