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

NEW
Unassigned

Status

a year ago
3 months ago

People

(Reporter: vgutierrez5, Unassigned)

Tracking

unspecified

Firefox Tracking Flags

(firefox57 wontfix)

Details

(Reporter)

Description

a year ago
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.

Updated

11 months ago
status-firefox57: --- → wontfix

Updated

6 months ago
Product: Core → Firefox Build System

Updated

3 months ago
Component: General → Bootstrap Configuration
You need to log in before you can comment on or make changes to this bug.