-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add unstable-no-link feature #525
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I've been wanting this feature
f6f8566
to
b65ed2e
Compare
Ok, last thing, promise this time: Can your use-case be solved by #![feature(link_arg_attribute)]
#[link(name = "-weak_framework", kind = "link-arg", modifiers = "+verbatim")]
#[link(name = "MetalFX", kind = "link-arg", modifiers = "+verbatim")]
extern "C" {} |
Yeah, it works. I'll close the pr. |
Some frameworks may only be available on higher OS versions and some applications want to check at runtime, for example: