Closed
Description
I tried this sequence of steps:
$ wget "https://static.rust-lang.org/dist/2022-02-24/rustc-1.59.0-src.tar.xz"
$ tar xf rustc-1.59.0-src.tar.xz
$ cd rustc-1.59.0-src
$ ./configure --enable-local-rust
$ ./x.py dist --stage 0 rustc-src
I expected to see this happen: rustc-1.59.0-src.tar.xz
should be built, and should include a vendor/
subdirectory with the same entries as in the source tarball.
Instead, this happened: the produced rustc-1.59.0-src.tar.xz
does not contain a vendor/
subdirectory, likely because of the logic here, which ties the inclusion of that directory to whether we're building from git:
Lines 887 to 897 in 10dccdc
Note also that the same thing happens even if --enable-locked-deps
and --enable-vendor
are passed to ./configure
.
Meta
rustc --version --verbose
:
rustc 1.59.0 (9d1b2106e 2022-02-23)
binary: rustc
commit-hash: 9d1b2106e23b1abd32fce1f17267604a5102f57a
commit-date: 2022-02-23
host: x86_64-unknown-linux-gnu
release: 1.59.0
LLVM version: 13.0.0