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
{{ message }}
Repository navigation
Release builds install cargo-zigbuild from an unreleased commit #51
Since #50, the Release workflow's Build jobs install cargo-zigbuild from a commit on its main branch rather than from a release (.github/workflows/release.yml, step "zig and cargo-zigbuild"):
That commit is 0.23.4 and 10 fixes, among them rust-cross/cargo-zigbuild#506, which drops the -Wl,-O1 that rustc passes to the linker. zig 0.17 ignores the flag with linker stderr: ignoring deprecated linker optimization setting "1", which rustc 1.99 shows as a warning in every Linux build. No release has the fix yet; 0.23.4 (2 September) is the latest. Until one does, each Build job whose cache lacks cargo-zigbuild compiles it (about a minute), and releases depend on an unreleased commit.
v0.4.0 was the first release built with the pinned commit. None of its six Build jobs printed the linker stderr warning or the xcrun one (run 39127982558). That checks ci(release): build the binaries in parallel and without warnings #50 in the Release workflow itself. It doesn't tick the second box, which is about the release after the switch.
None of those jobs found a cache on main, so each one compiled cargo-zigbuild (51 s to 1 min 4 s). They saved their caches afterwards (cache-bin: true), so the next release's Build jobs should restore cargo-zigbuild and skip compiling it.
The switch is one change to the step "zig and cargo-zigbuild": cargo install cargo-zigbuild --version X.Y.Z --locked replaces the --git … --rev install and the comment above it. Nothing else pins cargo-zigbuild: docs/development.md and the error in xtask/src/dist.rs name no version. A cache that holds the git build won't block the switch. Locally, with cargo 1.99.0, running the git install twice skipped the second one ("Ignored package … is already installed"), and cargo install cargo-zigbuild --version 0.23.4 --locked then replaced that build without --force.
Still to do: both boxes, once a release includes #506. This is blocked on that release. A person could ask the maintainers for one in rust-cross/cargo-zigbuild#483; I haven't. No fctl session is notified when the release comes out, but watching releases on rust-cross/cargo-zigbuild in GitHub sends a notification.
Activity
ci(release): build the binaries in parallel and without warnings (#50)
fctl-sh commentedon Oct 18, 2026
Checked on 18 October: no cargo-zigbuild release includes rust-cross/cargo-zigbuild#506 yet, so the first box has to wait.
371bac8, the commit the Build jobs install. Upstreammainhas three more fixes since then (Drop rustc's -Wl,--no-rosegment for LoongArch rust-cross/cargo-zigbuild#505, feat(web): give the workspace and admin pages' tabs icons #504, fix: leave done sessions out of Needs you after an answer #496), and itsCargo.tomlstill says 0.23.4. The upstream issue for this warning, Drop-Wl,-O1before zig's linker: release builds warn "ignoring deprecated linker optimization setting '1'" rust-cross/cargo-zigbuild#483, is still open, and no open issue there asks for a release.linker stderrwarning or thexcrunone (run 39127982558). That checks ci(release): build the binaries in parallel and without warnings #50 in the Release workflow itself. It doesn't tick the second box, which is about the release after the switch.main, so each one compiled cargo-zigbuild (51 s to 1 min 4 s). They saved their caches afterwards (cache-bin: true), so the next release's Build jobs should restore cargo-zigbuild and skip compiling it.cargo install cargo-zigbuild --version X.Y.Z --lockedreplaces the--git … --revinstall and the comment above it. Nothing else pins cargo-zigbuild:docs/development.mdand the error inxtask/src/dist.rsname no version. A cache that holds the git build won't block the switch. Locally, with cargo 1.99.0, running the git install twice skipped the second one ("Ignored package … is already installed"), andcargo install cargo-zigbuild --version 0.23.4 --lockedthen replaced that build without--force.Still to do: both boxes, once a release includes #506. This is blocked on that release. A person could ask the maintainers for one in rust-cross/cargo-zigbuild#483; I haven't. No fctl session is notified when the release comes out, but watching releases on rust-cross/cargo-zigbuild in GitHub sends a notification.
Session: https://app.fctl.sh/s/ses_01M57HQ598ZJHXG68BB2G0NNWP