-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
extra-link-arg: support all link types #9416
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
Thanks for the PR! One question I had is for Can you also update |
☔ The latest upstream changes (presumably #9486) made this pull request unmergeable. Please resolve the merge conflicts. |
Sorry for the long delay, I hope to pick this PR up very soon. I just saw #9562. Is that also relevant to these flags? It was looking potentially quite elegant for PyO3 to push these flags downstream automatically from its |
I'm gonna close this due to inactivity. Feel free to reopen or create a new PR when you've got time to work on this again. Thanks! |
extra-link-arg-etc: support all link types (credit @davidhewitt) This commit adds support for the remaining link types to `-Zextra-link-arg-etc`: ` rustc-link-arg-tests rustc-link-arg-benches rustc-link-arg-examples ` This would be useful in PyO3, where users writing Python extension modules (which do link against libpython) want to run cargo tests for extension module. As executables, these tests need to link against libpython. This is a follow up of #9416 by `@davidhewitt`
This commit adds support for the remaining link types to
-Zextra-link-arg
:This would be useful in PyO3, where users writing Python extension modules (which do link against libpython) want to run cargo tests for extension module. As executables, these tests need to link against libpython.