mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
8 lines
192 B
Rust
8 lines
192 B
Rust
// ignore-macos this is supposed to succeed on osx
|
|
|
|
#[link(name = "foo", kind = "framework")]
|
|
extern "C" {}
|
|
//~^^ ERROR: link kind `framework` is only supported on Apple targets
|
|
|
|
fn main() {}
|