-
Notifications
You must be signed in to change notification settings - Fork 13.8k
support link modifier as-needed
for raw-dylib-elf
#146027
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
Conversation
Some changes occurred in compiler/rustc_attr_parsing Some changes occurred in compiler/rustc_hir/src/attrs Some changes occurred in compiler/rustc_codegen_ssa |
☔ The latest upstream changes (presumably #147345) made this pull request unmergeable. Please resolve the merge conflicts. |
f672671
to
21dd997
Compare
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
@bors r+ |
Rollup merge of #146027 - usamoi:raw-dylib-elf-as-needed, r=bjorn3 support link modifier `as-needed` for raw-dylib-elf This pull request: * emits `-Wl,--as-needed` instead of `-Wl,--no-as-needed` for `raw-dylib-elf`, keeping it consistent with `dylib` * allows combination of link kind `raw-dylib` and link modifier `as-needed`, thus allowing free choice of behavior r? `@bjorn3` cc #135694 cc #99424
This pull request:
-Wl,--as-needed
instead of-Wl,--no-as-needed
forraw-dylib-elf
, keeping it consistent withdylib
raw-dylib
and link modifieras-needed
, thus allowing free choice of behaviorr? @bjorn3
cc #135694
cc #99424