Skip to content

python x.py setup complains about missing ninja #84938

Closed
@lopopolo

Description

@lopopolo

Hi, I'm setting up a checkout of the Rust repository on a Windows machine. I would like to run x.py setup to generate a config.toml file with the library profile. x.py aborts due to ninja not being installed, even though this does not appear to be necessary for the library profile because x.py fetches pre-built copies of LLVM.

To work around this I had to copy the example config and manually modify the ninja setting to false. Running x.py setup again returns an error since the config file already exists, although it does suggest setting a top-level profile key.

This is a speedbump on the road to contributing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustC-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions