Error code E0459

A link was used without a name parameter.

Erroneous code example:

#[link(kind = "dylib")] extern "C" {}
// error: `#[link(...)]` specified without `name = "foo"`
Run

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!
Run

Back to list of error codes