Skip to content

config.example.toml: use vendor directory by default when compiling from https://static.rust-lang.org/dist/rustc-1.x.y-src.tar.xz #133664

Closed
@dilyanpalauzov

Description

@dilyanpalauzov

The file https://static.rust-lang.org/dist/rustc-1.83.0-src.tar.xz — config.example.toml contains

[build]
# Indicate whether the vendored sources are used for Rust dependencies or not.
#
# Vendoring requires additional setup. We recommend using the pre-generated source tarballs if you
# want to use vendoring. See
# https://forge.rust-lang.org/infra/other-installation-methods.html#source-code.
#vendor = false

[dist]
# Whether to vendor dependencies for the dist tarball.
#vendor = if "is a tarball source" || "is a git repository" { true } else { false }

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-bootstrap-configArea: bootstrap `config.toml` and the config systemC-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions