1 Found `staticlib` `..` instead of `rlib` or `dylib`.
3 Consider the following two files:
6 ```ignore (cannot-link-with-other-tests)
7 #![crate_type = "staticlib"]
13 ```ignore (cannot-link-with-other-tests)
21 Crate `a` is compiled as a `staticlib`. A `staticlib` is a system-dependant
22 library only intended for linking with non-Rust applications (C programs). Note
23 that `staticlib`s include all upstream dependencies (`core`, `std`, other user
24 dependencies, etc) which makes them significantly larger than `dylib`s:
25 prefer `staticlib` for linking with C programs. Learn more about different
26 `crate_type`s in [this section of the Reference](../reference/linkage.html).
28 This error can be fixed by:
29 * Using [Cargo](../cargo/index.html), the Rust package manager, automatically
31 * Recompiling the crate as a `rlib` or `dylib`; formats suitable for Rust