Skip to content

Fails to build without config.toml #44768

Closed
@diwic

Description

@diwic
$ ./x.py build
Traceback (most recent call last):
  File "./x.py", line 20, in <module>
    bootstrap.main()
  File ".../rustc/src/bootstrap/bootstrap.py", line 756, in main
    bootstrap()
  File ".../rustc/src/bootstrap/bootstrap.py", line 683, in bootstrap
    with open(args.config or 'config.toml') as config:
IOError: [Errno 2] No such file or directory: 'config.toml'

cp config.toml.example config.toml fixes the issue, but is this intended to be a required step? According to README.md and CONTRIBUTING.md it seems like you're only supposed to have to do this in case you actually want to change something in the configuration.

(This is from git master @ 2017-09-22)

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-infraRelevant to the infrastructure 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