Open Bug 1382479 Opened 7 years ago Updated 2 years ago

Make mach bootstrap output a more useful message for Rust installation if using a non-bash shell

Categories

(Firefox Build System :: Bootstrap Configuration, enhancement)

enhancement

Tracking

(firefox57 wontfix)

Tracking Status
firefox57 --- wontfix

People

(Reporter: vgutierrez5, Unassigned)

Details

If mach bootstrap cannot find cargo/rustc, it displays a message saying to add "source /Users/username/.cargo/env" to ~/.bashrc or another bash file, or to ~/.profile. This instruction is displayed even if you are not using bash, and could have you running in circles when in fact you need to add the line to ~/.zshrc 

Given that rustc was recently made required for bootstrap, improving this error message could save a good amount of troubleshooting.
Product: Core → Firefox Build System
Component: General → Bootstrap Configuration
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.