-
Notifications
You must be signed in to change notification settings - Fork 13.4k
extra::getopts::opt_val
is private, but rustpkg
managed to use it due to privacy bugs.
#9311
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
Comments
Couldn't the function be made public? |
@huonw I have some aversion against making two undocumented functions public that I do not understand, despite both being only like 5 lines of code. |
They should be public. I'll fix this. |
bors
added a commit
that referenced
this issue
Nov 9, 2013
…rphism and use opt_str instead of opt_val in rustpkg Closes #9311
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jun 30, 2023
…=Jarcho Direct towards late passes in `cargo dev new_lint` changelog: none This would be the tooling part of rust-lang#9311 - `--pass late` is now the default - It prints a message recommending the use of a late pass if you choose `--pass early`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@catamorphism you're the one who handles
rustpkg
, right? Can you take a look on whether those twogetopts
methods are necessary there? Alternatively, document what they actually do and make them officially public. I still have no idea what half the things ingetopts
actually do.The text was updated successfully, but these errors were encountered: