Closed
Description
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
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
jyn514 commentedon Oct 29, 2020
@pnkfelix are you using different
config.toml
files depending on the directory? Or did you intend to runx.py
from the top-level directory?jyn514 commentedon Oct 29, 2020
Or did you intend to run x.py from the current directory but use the top-level config.toml?
cuviper commentedon Oct 29, 2020
Normally
x.py
uses the config from the current directory, so I would expectx.py setup
to create the same. I don't know about pnkfelix, but I often want to try a single source tree with multiple configs (bundled vs system LLVM, alt debug settings, etc.).Create config.toml in the current directory, not the top-level directory
Rollup merge of rust-lang#78550 - jyn514:setup, r=Mark-Simulacrum
Rollup merge of rust-lang#78550 - jyn514:setup, r=Mark-Simulacrum
Rollup merge of rust-lang#78550 - jyn514:setup, r=Mark-Simulacrum
jyn514 commentedon Jan 1, 2021
This was fixed in #78550.