-
Notifications
You must be signed in to change notification settings - Fork 13.3k
bootstrap: in-tree rustfmt fails to compile in extended tools build #84076
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
Comments
Additional output from
|
rustfmt is not expected to always builds, closing as a duplicate of #83460. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rustc-ap-rustc_span fails as part of the rustfmt build when
extended = true
in config.toml. It looks like rustc-ap-rustc_span version 705.0.0 uses the unstable Option::expect_none method, but it gets compiled with the stage0 compiler that doesn't support it.Seen with today's rust master branch (rev a836d9b), which includes rustfmt rev 7de6968 via git submodule. Reproduced on both Arch Linux (where I have rustup installed for my user), and in a clean debian:buster Docker container that has no existing Rust installation.
It looks like
rustfmt
is being compiled using the stage0 compiler, instead of stage1 or stage2 that have already been built.Is this expected? Is bootstrap using the wrong toolchain for this part of the build?
The text was updated successfully, but these errors were encountered: