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!
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0459.html