Skip to content

馃敡 fix(ci): bump cargo-zigbuild to 0.23.0 to skip --fix-cortex-a53-843419 - #75

Merged
jpmcb merged 1 commit into
mainfrom
fix-cargo-zigbuild
Aug 21, 2026
Merged

馃敡 fix(ci): bump cargo-zigbuild to 0.23.0 to skip --fix-cortex-a53-843419#75
jpmcb merged 1 commit into
mainfrom
fix-cargo-zigbuild

Conversation

@jpmcb

@jpmcb jpmcb commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

cargo-zigbuild 0.23.0 is the first release that skips rustc's -Wl,--fix-cortex-a53-843419 for aarch64-unknown-linux-musl
(rust-lang/rust#155453), which zig's linker rejects; below it, every linux/arm64 cross-compile failed at the link step.

cc @yeazelm - FYI this should fix the builds in CI around:

error: linking with `/root/.cache/cargo-zigbuild/0.19.8/zigcc-aarch64-unknown-linux-musl-fec1.sh` failed: exit status: 1
  |
  = note:  "/root/.cache/cargo-zigbuild/0.19.8/zigcc-aarch64-unknown-linux-musl-fec1.sh" "-Wl,--fix-cortex-a53-843419" "<sysroot>/lib/rustlib/aarch64-unknown-linu

error: could not compile `tapesctl` (bin "tapesctl") due to 1 previous error
! exit code: 101

Closes PCC-1267

@greptile-apps

greptile-apps Bot commented Aug 21, 2026

Copy link
Copy Markdown

Greptile Summary

The PR completes the CI toolchain fix by pairing cargo-zigbuild 0.23.0 with a Rust 1.88 base image.

  • Updates the shared Dagger Rust image from 1.85 to 1.88.
  • Updates cargo-zigbuild from 0.19.8 to 0.23.0.
  • Documents the compatibility requirement and preserves the existing rustup target-installation sequence.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains; cargo-zigbuild now installs under the Rust 1.88 image before the source tree and its stable toolchain override are introduced.

Important Files Changed

Filename Overview
.dagger/main.go Updates the shared CI and release container to compatible Rust and cargo-zigbuild versions, resolving the previously reported installation failure.

Reviews (2): Last reviewed commit: "馃敡 fix(ci): bump cargo-zigbuild to 0.23...." | Re-trigger Greptile

Comment thread .dagger/main.go
cargo-zigbuild 0.23.0 skips rustc's -Wl,--fix-cortex-a53-843419 for the aarch64 musl target (rust-lang/rust#155453), which zig 0.13.0's linker rejects; it also needs rustc 1.88+, hence the image bump from 1.85 to 1.88.
@jpmcb
jpmcb force-pushed the fix-cargo-zigbuild branch from 2d20ab8 to 8d37bbd Compare August 21, 2026 21:50
@linear-code

linear-code Bot commented Aug 21, 2026

Copy link
Copy Markdown

PCC-1267

@jpmcb
jpmcb merged commit ebab27d into main Aug 21, 2026
19 of 20 checks passed
@jpmcb
jpmcb deleted the fix-cargo-zigbuild branch August 21, 2026 22:00
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

Successfully merging this pull request may close these issues.

1 participant