mach bootstrap doesn't pull the expected rust compiler version
Categories
(Firefox Build System :: General, defect, P3)
Tracking
(Not tracked)
People
(Reporter: steve, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Steps to reproduce:
Grabbed ESR 102
Performed mach bootstrap to obtain correct build environment
mach build failed due to rust compile errors as incompatible version of compiler.
Actual results:
mach bootstrap pulled latest release channel rust compiler which cannot build that version of firefox without significant tweaks.
assumed bootstrap had installed correct rust compiler version for me so wasted time fixing something that didn't need fixing.
Expected results:
mach bootstrap should have parsed the following page :
https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html
or resource that page is based on & installed the correct rust compiler version for me or warned my compiler was not as expected in some way.
| Reporter | ||
Comment 1•2 years ago
|
||
steps required:
rustup install [version]
rustup default [version]
Comment 2•2 years ago
|
||
I think the way we would implement this is to use the same version of Rust that's used in CI for the various ESR versions.
Description
•