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 }}
This repository was archived by the owner on Jul 20, 2026. It is now read-only.
$ cargo +nightly test -Zbuild-dir-new-layout
$ CARGO_BUILD_BUILD_DIR=build cargo test
Move the tests and possibly upgrade the underlying testing library (assert_cmd, snapbox, etc). If manually implementing binary lookup and needing to update the implementation, see assert_cmd::cargo::cargo_bin for an example.
Tests assumes the location of build artifacts
build.build-dir(added as of Cargo 1.91)build-dirlayout (Re-organize build-dir by package + hash, rather than artifact type rust-lang/cargo#15010)build.build-dirdefault (Movebuild-dirout of the workspace tocargo-cache-homeby default rust-lang/cargo#16147)You can reproduce this by running either:
Move the tests and possibly upgrade the underlying testing library (assert_cmd, snapbox, etc). If manually implementing binary lookup and needing to update the implementation, see
assert_cmd::cargo::cargo_binfor an example.This problem was identified by the following crater run: rust-lang/rust#149852