mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 04:57:35 +00:00
8 lines
240 B
Rust
8 lines
240 B
Rust
//@ ignore-apple this is supposed to succeed on Apple platforms (though it won't necessarily link)
|
|
|
|
#[link(name = "foo", kind = "framework")]
|
|
extern "C" {}
|
|
//~^^ ERROR: link kind `framework` is only supported on Apple targets
|
|
|
|
fn main() {}
|