Skip to content

rustbuild with verbose fails with custom cargo path #41779

Closed
@semarie

Description

@semarie

When rustbuild is invoked with -v, extra_help variable is populate using metadata::build() (for any command). It will call cargo metadata for several crates.

The build configuration used is at this place is Config::default().

As I use config.toml to set cargo binary path, the setting is ignored, and rustbuild fails when -v is on command-line: by default it uses stage0_root path, and cargo binary isn't available at this place.

Metadata

Metadata

Labels

E-help-wantedCall for participation: Help is requested to fix this issue.P-mediumMedium priorityT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions