Skip to content

bootstrap: profile = "tools" contains incompatible options. #127951

Closed
@aDotInTheVoid

Description

@aDotInTheVoid

With a config.toml of just:

profile = "tools"

rustdoc fails to build:

$ ./x build ./src/librustdoc/
Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.04s
thread 'main' panicked at src/core/config/config.rs:2705:5:
ERROR: Setting `rust.debug-logging` is incompatible with `rust.download-rustc`.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Build completed unsuccessfully in 0:00:00

config.tools.toml should be changed such that including it works.

Alternatively, bootstrap could be taught to build tools with debugging enabled, even if the compiler/ crates don't have debug logging.

Probably due to #127322, CC @onur-ozkan

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustA-download-rustcArea: The `rust.download-rustc` build option.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