Open dilyanpalauzov opened 2 days ago
… or if the default is false
then do not include the vendor/
directory in the stable, distributed tarball.
Omitting the vendor
directory would make it impossible to do a vendored build when you have an offline build environment. There is something to be said for using vendoring by default when building from a tarball though, although you did still need some manual configuration to set a bootstrap compiler when you want to do an offline build anyway.
The file https://static.rust-lang.org/dist/rustc-1.83.0-src.tar.xz — config.example.toml contains
My reading is that the vendor/ directory from rustc-1.83.0-src.tar.xz by default is not used. By default, this directory should be used, when compiling from the .tar file.