Skip to content

x.py setup creates config.toml in root directory, even if one is running in a different directory #78509

Closed
@pnkfelix

Description

@pnkfelix

If you run x.py build in a directory with no config.toml, it suggests you run x.py setup first.

I did that.

Then I ran x.py build again. And it made the same suggestion.

The suggestion wasn't wrong, since there was no config.toml in my current directory, even after running x.py setup; the problem was that running x.py setup is generating the config.toml in the source root, rather than in the current directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions