We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
link
Linking with -weak_framework is recently possible on nightly:
-weak_framework
#![feature(link_arg_attribute)] #[link(name = "-weak_framework", kind = "link-arg", modifiers = "+verbatim")] #[link(name = "CoreFoundation", kind = "link-arg", modifiers = "+verbatim")] extern "C" {}
This works even if declared in a binary crate that depends on something that has the normal #[link(name = "CoreFoundation", kind = "framework")].
#[link(name = "CoreFoundation", kind = "framework")]
Given that, maybe we should consider removing the link feature again?
The text was updated successfully, but these errors were encountered:
It probably makes sense for that to get to stable first right?
Sorry, something went wrong.
Depends on if the users are fine with using nightly, I guess? @crowlKats?
nightly
the reason we wanted this added was because the feature is nightly, and at Deno we do not want to build with nightly
No branches or pull requests
Linking with
-weak_framework
is recently possible on nightly:This works even if declared in a binary crate that depends on something that has the normal
#[link(name = "CoreFoundation", kind = "framework")]
.Given that, maybe we should consider removing the
link
feature again?The text was updated successfully, but these errors were encountered: