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
It would be great to be able to configure features per target as some of the platforms do not support one thing or another. For example, I don't want to build udev-dependent code for linux-musl-static builds, so I would just disable default-features and enable only the features that make sense for musl-static build.
I wish cargo support it, and then cargo-dist may not need to implement it: rust-lang/cargo#1197
The text was updated successfully, but these errors were encountered:
On Linux, it requires the fontconfig crate by default and offers a built in font with the ab_glyph feature.
In my project I distribute a Linux musl binary without support for system fonts, and build with flags like --no-default-features --features internal-font.
But I'd want to keep system fonts default for the other targets. cargo-dist doesn't seem to let me do that.
Same here, we have a command, that currently only works on Linux due to fuse dependency. So we have buried that behind the mount feature, but in general, we build with the release feature as a "default".
But we would like to set something like:
[dist]
features = ["release"]
[dist.additional-features]
x86_64-unknown-linux-gnu = ["mount"]
So artifacts for x86_64-unknown-linux-gnu are build with -F release -F mount.
I am an early user of cargo-dist, and I love it!
It would be great to be able to configure features per target as some of the platforms do not support one thing or another. For example, I don't want to build udev-dependent code for linux-musl-static builds, so I would just disable default-features and enable only the features that make sense for musl-static build.
I wish cargo support it, and then cargo-dist may not need to implement it: rust-lang/cargo#1197
The text was updated successfully, but these errors were encountered: