-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Add support for specifying external libraries by filename #11802
Comments
Brian and I discussed this last week in the context of glfw-rs (the glfw lib is called glfw3 on some distros of Linux and glfw on others). Brian suggested that there be some way to specify a mapping from link names to actual libraries. cc @bjz |
nominating |
Not accepted for 1.0, but important nonetheless so P-high. |
triage: nothing has changed with |
Triage: no change here. That said, I would expect that maybe this is something that should be going through Cargo and build scripts, rather than modifying |
This seems fairly close to being closed. The need is satisfied by the build scripts, which is the generally accepted way to do complex linking decisions. |
Closing this as it can be done by build scripts. Thanks |
`needless_return_with_question_mark` ignore let-else Fixes rust-lang#11765 This PR makes `needless_return_with_question_mark` to ignore expr inside let-else. changelog: [`needless_return_with_question_mark`] ignore let-else
Some libraries have multiple filenames:
There is currently no way to tell rustc that
#[link(name = "z")]
should be satisfied byzlib1.dll
.The text was updated successfully, but these errors were encountered: