Closed
Description
Problem
Cargo testsuite fails when built with the rustc-1.33.0-src
tarball with vendor = true
enabled. Though I haven't confirmed it yet, the issue may also exist if cargo
itself is built with vendored crates.
Specifically, the test suite appears to expect error messages like [..]Cargo.toml
but with vendoring enabled, messages will look like </path/to/vendor/dir>/Cargo.toml
Steps
- Download the
rustc-1.33.0-src
tarball - Edit
config.toml
and set thevendor = true
flag ./x.py test src/tools/cargo
Possible Solution(s)
- Update the test suite to understand if vendoring is currently enabled and react accordingly
- Have the test instance of
cargo
ignore any.cargo
config directories in the parent hierarchy
Notes
- Addressing this is important for packaging Rust-1.33 in Guix, which builds from the source tarballs and utilizes the vendor directory so that only artifacts from within its store are used when building the toolchain
- Possibly related to Rust 1.33.0 failing UI tests when run with single core rust#59122