rust/tests/ui/rfcs/rfc-2627-raw-dylib/raw-dylib-windows-only.rs
2023-06-05 16:09:46 +00:00

6 lines
180 B
Rust

// ignore-windows
// compile-flags: --crate-type lib
#[link(name = "foo", kind = "raw-dylib")]
//~^ ERROR: link kind `raw-dylib` is only supported on Windows targets
extern "C" {}