unable to build rust on tiers-3 platform #67624
Labels
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-release
Relevant to the release subteam, which will review and decide on the PR/issue.
with the introduction of #65939, the
bootstrap.py
mandatories the use of downloadedrustfmt
. but all platforms doesn't have binary distribution, mainly tiers-3 platforms like OpenBSD.For rustc or cargo dependencies, it is possible to use
config.toml
(withrustc
andcargo
key in[build]
section) to point to alternate binaries. this way,bootstrap.py
doesn't download them and use local supplied binaries.For
rustfmt
it is currently not possible: ifbootstrap.py
is able to deal with it,rustbuild
will complains thatrustfmt
isn't a valid key:What would be the right way to use a local
rustfmt
binary in order to copte with #65939, and not force the use of downloaded binary ?Would adding a
rustfmt
key in[build]
section ofconfig.toml
would be accepted (I could provide a patch of it, if yes) ? or should another method used ?Cc @anp @Mark-Simulacrum
The text was updated successfully, but these errors were encountered: