Repository navigation
ci: keep CI green under Rust 1.100 (binary lookup, pin 1.99.1) - #101
Merged
Merged
Conversation
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.
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI moved to Rust 1.100 (
dtolnay/rust-toolchain@stable). Cargo now builds test binaries and build-script outputs undertarget/<profile>/build/<package>/<hash>/out/, and two things broke on every run (seen on #100):localify_binary()looked two folders up from the test binary forlocalify. The convergence test and the four SSH pairing tests failed. It now walks up from the test binary until it findslocalify, which covers both layouts.OUT_DIRand lands intarget/debug/build/. It then fails removing thelocalifycrate'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.