Skip to content

Only create a URL when opening docs with URI fragments - #5036

Merged
ChrisDenton merged 1 commit into
rust-lang:mainfrom
ChrisDenton:shell-execute
Aug 27, 2026
Merged

Only create a URL when opening docs with URI fragments#5036
ChrisDenton merged 1 commit into
rust-lang:mainfrom
ChrisDenton:shell-execute

Conversation

@ChrisDenton

Copy link
Copy Markdown
Member

ShellExecuteW does not handle urls very well so we try to avoid it as much as possible.

This is only a partial workaround for #5035 but it does allow new users basic access to the docs. I can implement a fuller fix but I'd want more time to test and evaluate the trade-offs so I think this is good to go in the meantime and I think this might be a good idea even if we do have a full fix (no point making a url if we don't have to).

@rami3l rami3l left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo some minor points, thanks a lot :)

View changes since this review

Comment thread src/toolchain.rs Outdated
Comment thread src/toolchain.rs Outdated
ShellExecuteW does not handle urls very well so we try to avoid it as much as possible
@ChrisDenton
ChrisDenton enabled auto-merge August 27, 2026 17:51
@ChrisDenton
ChrisDenton added this pull request to the merge queue Aug 27, 2026
Merged via the queue into rust-lang:main with commit b1d4c1e Aug 27, 2026
31 checks passed
@ChrisDenton
ChrisDenton deleted the shell-execute branch August 27, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants