Skip to content

Commit

Permalink
Auto merge of #12373 - abhiramiyer:master, r=epage
Browse files Browse the repository at this point in the history
Fix "cargo doc --open" crash on WSL2

"cargo doc --open" does not work on WSL2 due to a bug in the 'opener' crate. Updated 'opener' to v0.6.1 to fix this issue.

### What does this PR try to resolve?

Fixes #12372

### How should we test and review this PR?
1. In a WSL2 setup, download or create a cargo project and run 'cargo doc --open'.
2. The doc will open in the default browser.
  • Loading branch information
bors committed Jul 18, 2023
2 parents 5a9f611 + 04e5675 commit 1b15556
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ libgit2-sys = "0.15.1"
log = "0.4.17"
memchr = "2.1.3"
miow = "0.5.0"
opener = "0.5"
opener = "0.6.1"
openssl ="0.10.55"
os_info = "3.5.0"
pasetors = { version = "0.6.4", features = ["v3", "paserk", "std", "serde"] }
Expand Down

0 comments on commit 1b15556

Please sign in to comment.