Open Bug 1840329 Opened 2 years ago Updated 2 years ago

mach bootstrap doesn't pull the expected rust compiler version

Categories

(Firefox Build System :: General, defect, P3)

Firefox 114
defect

Tracking

(Not tracked)

UNCONFIRMED

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.

steps required:

rustup install [version]
rustup default [version]

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.

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