cargo_test_support::paths

# Function get_lib_filename

Source

    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`

## §Examples

    get_lib_filename("foo", "dylib");

would return:

- macOS: `"libfoo.dylib"`
- Windows: `"foo.dll"`
- Unix: `"libfoo.so"`