Reject linked dylib EII default overrides#156370
Conversation
|
r? @mejrs rustbot has assigned @mejrs. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
cc @bjorn3 |
|
r? @jdonszelmann (or @bjorn3 perhaps) |
|
|
|
Thinking about this a bit more, I'm wondering if maybe |
Nice catch @bjorn3
right? seems like the next best move |
dfc410a to
44e8bb8
Compare
|
@bjorn3 I'm done with the split, what do you think? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
5af5be7 to
b41cef3
Compare
|
@bjorn3 that approach seems reasonable to me |
3827ccb to
621745e
Compare
This comment has been minimized.
This comment has been minimized.
621745e to
370c16b
Compare
This comment has been minimized.
This comment has been minimized.
a982691 to
370c16b
Compare
370c16b to
a7003f8
Compare
|
This PR was rebased onto a different main 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. |
| @@ -1,3 +1,4 @@ | |||
| //@ no-prefer-dynamic | |||
There was a problem hiding this comment.
| @@ -1,3 +1,4 @@ | |||
| //@ no-prefer-dynamic | |||
There was a problem hiding this comment.
and this
This PR rejects explicit EII implementations that would override a default implementation already selected through a linked dylib.
The check is intentionally split:
Fixes #156320.