2021-03-08 14:42:54 -06:00
|
|
|
// ignore-windows
|
|
|
|
// compile-flags: --crate-type lib
|
|
|
|
#![feature(raw_dylib)]
|
|
|
|
//~^ WARNING: the feature `raw_dylib` is incomplete
|
|
|
|
#[link(name = "foo", kind = "raw-dylib")]
|
2022-03-14 05:28:34 -05:00
|
|
|
//~^ ERROR: link kind `raw-dylib` is only supported on Windows targets
|
2021-03-08 14:42:54 -06:00
|
|
|
extern "C" {}
|