W3cubDocs

/Rust

Error code E0458

Note: this error code is no longer emitted by the compiler.

An unknown "kind" was specified for a link attribute.

Erroneous code example:

#[link(kind = "wonderful_unicorn")] extern "C" {}
// error: unknown kind: `wonderful_unicorn`

Please specify a valid "kind" value, from one of the following:

  • static
  • dylib
  • framework
  • raw-dylib

© 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/E0458.html