Skip to content
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

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

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

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

Successfully merging a pull request may close this issue.

2 participants