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.
18 lines
638 B
Plaintext
18 lines
638 B
Plaintext
warning: the feature `raw_dylib` is incomplete and may not be safe to use and/or cause compiler crashes
|
|
--> $DIR/raw-dylib-windows-only.rs:3:12
|
|
|
|
|
LL | #![feature(raw_dylib)]
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: `#[warn(incomplete_features)]` on by default
|
|
= note: see issue #58713 <https://github.com/rust-lang/rust/issues/58713> for more information
|
|
|
|
error: `#[link(...)]` with `kind = "raw-dylib"` only supported on Windows
|
|
--> $DIR/raw-dylib-windows-only.rs:5:1
|
|
|
|
|
LL | #[link(name = "foo", kind = "raw-dylib")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error; 1 warning emitted
|
|
|