Skip to content

raw-dylib imports not being linked when inlined from a dylib #102714

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
ChrisDenton opened this issue Oct 5, 2022 · 1 comment · Fixed by #102988
Closed

raw-dylib imports not being linked when inlined from a dylib #102714

ChrisDenton opened this issue Oct 5, 2022 · 1 comment · Fixed by #102988
Assignees

Comments

@ChrisDenton
Copy link
Member

ChrisDenton commented Oct 5, 2022

See #102327 (comment)

When an imported foreign function is inlined from a dylib, a normal #[link(name="...")] will cause the associated import library to also be linked into the final binary. However, when using raw-dylib no import library is linked which causes linking to fail.

cc @dpaoliello

@dpaoliello
Copy link
Contributor

@rustbot claim

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants