kind=dylib: The library is passed to each linker invocation.
If the library is actually a static library with global state, this results in global state duplication.
If combined with #[linked_from] this implies dllimport.
Search path is wherever the linker searches, this includes the Windows SDK paths that rustc finds for us.
kind=static: The library is bundled into the .rlib.
If the library is a static library with global state, Rust ensures there is only one of a given .rlib linked to a .exe, so there is no global state duplication.
If combined with #[linked_from], dllimport is not applied.
Search path is only paths which have been explicitly passed to rustc, so this does not include the Windows SDK.