Error code E0459
A link was used without a name parameter.
Erroneous code example:
#![allow(unused)] fn main() { #[link(kind = "dylib")] extern "C" {} // error: `#[link(...)]` specified without `name = "foo"` }
Please add the name parameter to allow the rust compiler to find the library you want. Example:
#[link(kind = "dylib", name = "some_lib")] extern "C" {} // ok!