Skip to content

ci: Link macOS and Windows test binaries on Linux with soldr 0.9.33 - #925

Merged
zackees merged 3 commits into
masterfrom
infra/695-soldr-cross-link
Oct 16, 2026
Merged

zackees merged 3 commits into
masterfrom
infra/695-soldr-cross-link

Conversation

@zackees

@zackees zackees commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Refs #695, #700, #897.

Change

The cross lane (Rust Cross Lint, Linux) now links every test binary for x86_64-pc-windows-msvc, aarch64-apple-darwin and x86_64-apple-darwin (soldr cargo test --workspace --no-run). Until now it only ran check. So macOS and Windows link errors show up on a Linux runner, without waiting for a native runner.

RED / GREEN

  • RED (this commit): still on soldr 0.9.31. Its managed lld needs the host's libxml2.so.2, which ubuntu-26.04 lacks, so CI should fail at the link step. (Locally on NixOS with soldr 0.9.32, soldr cargo test -p obs-util --no-run --target x86_64-pc-windows-msvc already links. The failure is specific to the CI host.)
  • GREEN (c9b4205): CI moves to soldr 0.9.33 (fix(llvm, darwin): self-contained managed lld (#3774); link-only lld selection for Darwin C/C++ (#3776) forge-ci/soldr#3775, self-contained lld; embeds zccache 1.15.4). The setup-soldr pin stays v0.9.85, whose version input installs any soldr release. The RED commit (rebased to d29cba6) failed in run 38823718497 with lld-link: error while loading shared libraries: libxml2.so.2.

@zackees

zackees commented Oct 15, 2026

Copy link
Copy Markdown
Member Author

RED confirmed (run 38823718497, Rust Cross Lint): on soldr 0.9.31, linking the x86_64-pc-windows-msvc test binaries fails with lld-link: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory (obs-nvenc loader_parity, obs-hotkey parity). The GREEN commit bumps to soldr 0.9.33 once that is released.

@zackees
zackees marked this pull request as ready for review October 16, 2026 00:48
@zackees
zackees added this pull request to the merge queue Oct 16, 2026
Merged via the queue into master with commit 6af9ff7 Oct 16, 2026
43 of 45 checks passed
zackees added a commit that referenced this pull request Oct 16, 2026
* test: The local-gate probe skips the windows-gnu steps (RED, Refs #971)

Fails: is_cross_step does not exist; the probe runs the lane's cross
link in a scratch crate whose windows-gnu std is missing on CI.

* ci: The local-gate probe runs only the lane's host steps (Fixes #971)

Since #925 the rust-test lane also links for x86_64-pc-windows-gnu. The
probe ran that in a scratch crate whose windows-gnu std is missing on
CI ('can't find crate for std'), failing the lint lane for every PR that
touches ci/. The probe checks change detection; the real rust-test lane
checks the cross link.
@zackees
zackees deleted the infra/695-soldr-cross-link branch October 26, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant