mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
7 lines
234 B
Rust
7 lines
234 B
Rust
// ignore-windows
|
|
// compile-flags: --crate-type lib
|
|
#![cfg_attr(target_arch = "x86", feature(raw_dylib))]
|
|
#[link(name = "foo", kind = "raw-dylib")]
|
|
//~^ ERROR: link kind `raw-dylib` is only supported on Windows targets
|
|
extern "C" {}
|