-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression of rustup doc BROWSER environment variable support in #1287 #2642
Comments
While I concur that this is a regression, I wonder if the right answer is to push the handling of @Seeker14491 how would you feel about |
Having the |
@Seeker14491 That's fantastic news. Do you have a timeline on releasing that? |
@Seeker14491 I appreciate we're pinging you quite a bit recently, but... any word on 0.5 ? |
I'm having another go at fixing several issues people have reported in the |
That is fantastic news. Please don't let me rush you though - take your time :D |
This should be fixed now with the merging of #2792. |
Aha thanks @Seeker14491 |
Is there any chance that this could be added to a |
What I'm really asking/saying is: I'm impatient and would like this to be considered a hotfix, considering it is a regression. For additonal context, it doesn't appear to use either the
|
To any future readers, this was due to the
|
Problem
Bug #1287 and PR #1289 added support for the
BROWSER
environment variable to allow overrides to the XDG default browser when runningrustup doc
.Steps
BROWSER=$(some-non-default) rustup doc
Possible Solution(s)
It looks to me like this feature was reverted with the move to
opener
in this commit e661fc6It looks like cargo still handles this environment variable and just falls back to
opener
https://github.com/rust-lang/cargo/blob/master/src/cargo/ops/cargo_doc.rs#L101 . Would PRs to restore this feature be welcome? I'd imagine it would be pretty small and self-contained.Notes
Output of
rustup --version
:cargo 1.49.0 (d00d64df9 2020-12-05)
Output of
rustup show
:The text was updated successfully, but these errors were encountered: