Skip to content

Release builds install cargo-zigbuild from an unreleased commit #51

Closed

Description

@fctl-sh

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"):

cargo install cargo-zigbuild --locked --git https://github.com/rust-cross/cargo-zigbuild \
  --rev 371bac84444fe6f998955889f2106802b817094b

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.

What should happen:

Nothing here needs a protocol change or a host release.

Session: https://app.fctl.sh/s/ses_01M56G0B94XXKBXQ7DWGPBYMXA

Activity

  1. added
    release
    on Oct 18, 2026
  2. fctl-sh commented on Oct 18, 2026

    @fctl-sh
    ContributorAuthor

    Checked on 18 October: no cargo-zigbuild release includes rust-cross/cargo-zigbuild#506 yet, so the first box has to wait.

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions