Open
Bug 1416998
Opened 8 years ago
Updated 3 years ago
mach bootstrap doesn't update PATH on Windows
Categories
(Firefox Build System :: Bootstrap Configuration, enhancement)
Firefox Build System
Bootstrap Configuration
Tracking
(Not tracked)
NEW
People
(Reporter: glandium, Unassigned)
Details
IIRC, mach bootstrap updates things on Linux and Mac to have the .cargo/bin directory in PATH, but it doesn't do it on Windows, despite installing rust there.
Comment 1•8 years ago
|
||
Is the intention of this bug to add .cargo/bin to the user PATH env var? First, you need admin rights to do that, second, I would like |mach bootstrap| to NOT change anything globally in my system, third, why is this even needed when I only build from inside the bash prompt that should have been set PATH correctly?
| Reporter | ||
Comment 2•8 years ago
|
||
(In reply to Honza Bambas (:mayhemer) from comment #1)
> why is this even needed when I only build from inside the bash prompt that should have
> been set PATH correctly?
That's the point. It's not set in bash, and on Linux and mac, the .bashrc or .profile or whatever is modified to have PATH set. So why not on Windows too?
Comment 3•8 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #2)
> (In reply to Honza Bambas (:mayhemer) from comment #1)
> > why is this even needed when I only build from inside the bash prompt that should have
> > been set PATH correctly?
>
> That's the point. It's not set in bash, and on Linux and mac, the .bashrc or
> .profile or whatever is modified to have PATH set. So why not on Windows too?
Ah, so it's missing only in bash. Thanks for clarifying it. I'm just curios why everything works correctly even now.
Comment 4•8 years ago
|
||
Alternately, I should just land my patch in bug 1396993.
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•7 years ago
|
Component: General → Bootstrap Configuration
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•