warning: `#[link(...)]` with `kind = "raw-dylib"` not supported on windows-gnu --> $DIR/feature-gate-raw-dylib-windows-gnu.rs:3:1 | LL | #[link(name = "foo", kind = "raw-dylib")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0658]: kind="raw-dylib" is unstable --> $DIR/feature-gate-raw-dylib-windows-gnu.rs:3:1 | LL | #[link(name = "foo", kind = "raw-dylib")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #58713 for more information = help: add `#![feature(raw_dylib)]` to the crate attributes to enable error: aborting due to previous error; 1 warning emitted For more information about this error, try `rustc --explain E0658`.