blob: 4efffbd532e133aa26d188d03880b083b449e430 (
plain)
1
2
3
4
5
6
|
// 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" {}
|