-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Closed
Copy link
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant 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.Relevant to the infrastructure team, which will review and decide on the PR/issue.
Description
I'm using nightly toolchain as toolchain to build bootstrap compiler with this config:
[build]
cargo = "/home/lzutao/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo"
rustc = "/home/lzutao/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc"
#rustfmt = "/path/to/bin/rustfmt"
But I cannot use ./x.py fmt
to use always-downloaded stage0 rustfmt to format code.
Instead I have this error from x.py:
$ ./x.py fmt
Finished dev [unoptimized + debuginfo] target(s) in 0.25s
./x.py fmt is not supported on this channel
I'm working on main commits 20b1e05 .
Meta
rustc +nightly --version --verbose
:
rustc 1.49.0-nightly (4760b8fb8 2020-10-25)
binary: rustc
commit-hash: 4760b8fb886a3702ae11bfa7868d495b2675b5ed
commit-date: 2020-10-25
host: x86_64-unknown-linux-gnu
release: 1.49.0-nightly
LLVM version: 11.0
@rustbot modify labels: T-infra
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant 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.Relevant to the infrastructure team, which will review and decide on the PR/issue.