Enable aarch64-unknown-linux-musl build target in cargo-dist#250
Enable aarch64-unknown-linux-musl build target in cargo-dist#250Shnatsel merged 3 commits intorust-secure-code:masterfrom
aarch64-unknown-linux-musl build target in cargo-dist#250Conversation
Experimental change that I hope will fix rust-secure-code#249
|
I do agree that supporting aarch64 musl target is worthwhile. However, I'm not keen on enabling a build target that just so happens to work right now but isn't officially supported and therefore could break at any moment. Could you open a PR to cargo-dist adding support for this target? Once it's continually tested in upstream CI and subsequent upstream changes are accounting for its existence, the risk of unpredictable breakage should be eliminated. |
|
As far as I know it is officially supported. I got this idea from axodotdev/cargo-dist#1581. In the code it seems explicit that this is one of the targets that cargo-dist knows about: In the docs section on custom runners it specifically shows a config for The latest It seems fully supported already as far as I can see... |
|
Merged, thanks. But it won't take effect until I cut the next release, which might take a while. |
It turns out that
cargo-distdoes support theaarch64-unknown-linux-musltarget it just has to be enabled. In theworkspace.metadata.distsection inCargo.tomlI just addedaarch64-unknown-linux-musl:In my fork I then made a new "release" tag and confirmed that it built and published to artifacts the aarch64 musl bits.
You can see the
Releaseworkflow built on my fork here. The specificaarch64-unknown-linux-muslbuild is here.Closes #249