2021-03-08 12:42:54 -08:00
|
|
|
// ignore-windows
|
|
|
|
// compile-flags: --crate-type lib
|
2022-07-29 11:18:07 -07:00
|
|
|
#![cfg_attr(target_arch = "x86", feature(raw_dylib))]
|
2021-03-08 12:42:54 -08:00
|
|
|
#[link(name = "foo", kind = "raw-dylib")]
|
2022-03-14 13:28:34 +03:00
|
|
|
//~^ ERROR: link kind `raw-dylib` is only supported on Windows targets
|
2021-03-08 12:42:54 -08:00
|
|
|
extern "C" {}
|