Skip to content

ci: keep CI green under Rust 1.100 (binary lookup, pin 1.99.1) - #101

Merged
teo-goulois merged 2 commits into
mainfrom
fix/test-binary-lookup-cargo-1-100
Nov 23, 2026
Merged

teo-goulois merged 2 commits into
mainfrom
fix/test-binary-lookup-cargo-1-100

Conversation

@teo-goulois

@teo-goulois teo-goulois commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

CI moved to Rust 1.100 (dtolnay/rust-toolchain@stable). Cargo now builds test binaries and build-script outputs under target/<profile>/build/<package>/<hash>/out/, and two things broke on every run (seen on #100):

  • Remote tests. localify_binary() looked two folders up from the test binary for localify. The convergence test and the four SSH pairing tests failed. It now walks up from the test binary until it finds localify, which covers both layouts.
  • desktop-shell. tauri-build 2.5.6 derives the target folder from OUT_DIR and lands in target/debug/build/. It then fails removing the localify crate's build folder as if it were the copied sidecar (Operation not permitted). Both workflows now pin Rust 1.99.1, the version releases are built with locally, until tauri is upgraded.

Since Rust 1.100, cargo puts unit test binaries in
target/<profile>/build/<package>/<hash>/out/ instead of
target/<profile>/deps/, so the remote tests that run the real localify
binary looked for it two folders up and failed on every CI run. They now
look in each folder above the test binary.
Rust 1.100 moved build scripts' OUT_DIR under target/<profile>/build/<pkg>/<hash>/out/.
tauri-build 2.5.6 derives the target folder from OUT_DIR, lands in
target/<profile>/build/, and fails removing the localify crate's build
folder as if it were the copied sidecar, so desktop-shell fails on every
run. Releases are built with 1.99.1 too.
@teo-goulois teo-goulois changed the title fix(test): find the localify binary under Rust 1.100's test layout ci: keep CI green under Rust 1.100 (binary lookup, pin 1.99.1) Nov 23, 2026
@teo-goulois
teo-goulois merged commit 73f625b into main Nov 23, 2026
4 checks passed
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