Open Bug 1462896 Opened 6 years ago Updated 2 years ago

bootstrap.py fails when rustup is installed but no toolchain are available

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

3 Branch
defect

Tracking

(Not tracked)

People

(Reporter: julienw, Unassigned)

References

Details

Today I helped a contributor setting up his local environment to developer on mozilla-central, and got this issue: he had rustup installed but no toolchain. I don't know how he ended up in this setup, especially I don't know if this was because of bootstrap.py or some preexisting setup.

As part of the process bootstrap.py calls `rustc --version` which fails with a message like "no default toolchain is configured" (I don't remember the exact message), ending the process. bootstrap.py should find this and install a default toolchain.

Note that this message also appears if a toolchain is installed, but not configured as the default.
Version: Version 3 → 3 Branch

See bug 1566107 for reproduction steps.

I didn’t see this so created a duplicate bug, sorry.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.