Fix typo and clarify library documentation

pull/2420/head
xarkes 7 years ago committed by Jussi Pakkanen
parent 9483875798
commit a28db4577a
  1. 5
      docs/markdown/Reference-manual.md

@ -820,10 +820,11 @@ static with only one option.
The keyword arguments for this are the same as for [`executable`](#executable) with the following additions: The keyword arguments for this are the same as for [`executable`](#executable) with the following additions:
- `name_prefix` the string that will be used as the suffix for the - `name_suffix` the string that will be used as the suffix for the
target by overriding the default (only used for libraries). By target by overriding the default (only used for libraries). By
default this is `lib` on all platforms and compilers except with default this is `lib` on all platforms and compilers except with
MSVC where it is omitted. MSVC where it is omitted and set to `a` to avoid potential name clash
with shared libraries (which also generates `lib` files).
- `rust_crate_type` specifies the crate type for Rust - `rust_crate_type` specifies the crate type for Rust
libraries. Defaults to `dylib` for shared libraries and `rlib` for libraries. Defaults to `dylib` for shared libraries and `rlib` for
static libraries. static libraries.

Loading…
Cancel
Save