8000 Remove `link` feature? · Issue #651 · servo/core-foundation-rs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
Remove link feature? #651
Open
Open
@madsmtm

Description

@madsmtm

Linking with -weak_framework is recently possible on nightly:

#![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")].

Given that, maybe we should consider removing the link feature again?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0