6aa45b71b1
This does not yet support #[link_name] attributes on functions, the #[link_ordinal] attribute, #[link(kind = "raw-dylib")] on extern blocks in bin crates, or stdcall functions on 32-bit x86.
8 lines
263 B
Rust
8 lines
263 B
Rust
// ignore-windows
|
|
// compile-flags: --crate-type lib
|
|
#![feature(raw_dylib)]
|
|
//~^ WARNING: the feature `raw_dylib` is incomplete
|
|
#[link(name = "foo", kind = "raw-dylib")]
|
|
//~^ ERROR: `#[link(...)]` with `kind = "raw-dylib"` only supported on Windows
|
|
extern "C" {}
|