Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cargo doc --open does nothing #1472
The command only builds the docs, but after building is finished no further action takes place(opening doc in browser). The problem exists for me on both windows and arch linux. Both operating systems have firefox configured as their default browser.
This happened to me, and after some digging I think I may have isolated the problem. Although, I'm not sure if my particular case is the same as @ruabmbua's.
If the package has executables only but no lib (i.e.
There's another separate case: when the package name contains a hyphen in it, then
I'm guessing both behaviors are unintended. I believe I know where the culprit lies and I may open a pull request soon... once I devised a viable fix.