pub fn get_lib_filename(name: &str, kind: &str) -> String
Expand description

Get the filename for a library.

kind should be one of: “lib”, “rlib”, “staticlib”, “dylib”, “proc-macro”

For example, dynamic library named “foo” would return:

  • macOS: “libfoo.dylib”
  • Windows: “foo.dll”
  • Unix: “libfoo.so”