rust/tests/ui/rfcs/rfc-2627-raw-dylib/import-name-type-x86-only.rs

8 lines
188 B
Rust

//@ only-windows
//@ ignore-x86
#[link(name = "foo", kind = "raw-dylib", import_name_type = "decorated")]
//~^ ERROR import name type is only supported on x86
extern "C" { }
fn main() {}