Open
Bug 1774959
Opened 3 years ago
Updated 3 years ago
mach should add rustc to PATH automatically during builds
Categories
(Firefox Build System :: General, enhancement, P3)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: mathew.hodson, Unassigned)
Details
mach can bootstrap rust, so it would be nice if it could also automatically add rustc to the PATH during build. Currently mach build will fail with the message, "ERROR: Rust compiler not found. To compile rust language sources, you must have 'rustc' in your path."
I use mach directly from Windows PowerShell, and I didn't want to always have rust in my PATH, so instead I added $env:Path += ";${env:MOZILLABUILD}\cargo\bin" to a script that runs when I start Windows Terminal.
| Reporter | ||
Updated•3 years ago
|
Product: Firefox → Firefox Build System
Updated•3 years ago
|
Severity: -- → S3
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•