]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2627-raw-dylib/raw-dylib-windows-only.rs
Auto merge of #100581 - joboet:sync_rwlock_everywhere, r=thomcc
[rust.git] / src / test / ui / rfc-2627-raw-dylib / raw-dylib-windows-only.rs
1 // ignore-windows
2 // compile-flags: --crate-type lib
3 #![cfg_attr(target_arch = "x86", feature(raw_dylib))]
4 #[link(name = "foo", kind = "raw-dylib")]
5 //~^ ERROR: link kind `raw-dylib` is only supported on Windows targets
6 extern "C" {}