Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build without config.toml #44768

Closed
diwic opened this issue Sep 22, 2017 · 2 comments
Closed

Fails to build without config.toml #44768

diwic opened this issue Sep 22, 2017 · 2 comments
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Comments

@diwic
Copy link
Contributor

diwic commented Sep 22, 2017

$ ./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)

@Mark-Simulacrum
Copy link
Member

Should be fixed once #44754 lands; prioritized.

@Mark-Simulacrum Mark-Simulacrum added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-bug Category: This is a bug. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Sep 22, 2017
@ashtneoi
Copy link
Contributor

ashtneoi commented May 2, 2018

This seems to be fixed. (#44754 was merged way back in 2017, and I tested it myself with 1.25.0 just now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants