aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-06-22 06:12:27 -0400
committerGitHub <noreply@github.com>2017-06-22 06:12:27 -0400
commit65d5ec5f18f645a7b4d10de10b63a329718a7939 (patch)
treeb63b5c11125d08b35ceae512d9582962f90f10e3 /docs/markdown
parent185808bf167fb7477211c7b624cd7a3ba3c4ce77 (diff)
parent6165612f6bb06c0f41422a9768caf2eba03849a9 (diff)
downloadmeson-65d5ec5f18f645a7b4d10de10b63a329718a7939.zip
meson-65d5ec5f18f645a7b4d10de10b63a329718a7939.tar.gz
meson-65d5ec5f18f645a7b4d10de10b63a329718a7939.tar.bz2
Merge pull request #1922 from acfoltzer/rust-improvements
Enhance Rust support
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Reference-manual.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index 492666b..dd77d6d 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -510,11 +510,12 @@ Joins the given strings into a file system path segment. For example `join_paths
Builds a library that is either static or shared depending on the value of `default_library` user option. You should use this instead of [`shared_library`](#shared_library) or [`static_library`](#static_library) most of the time. This allows you to toggle your entire project (including subprojects) from shared to static with only one option.
-The keyword arguments for this are the same as for [`executable`](#executable) with the following addition:
+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 target by overriding the default (only used for libraries). By default this is `lib` on all platforms and compilers except with MSVC where it is omitted.
+- `rust_crate_type` specifies the crate type for Rust libraries. Defaults to `dylib` for shared libraries and `rlib` for static libraries.
-`static_library` and `shared_library` also accept this keyword argument.
+`static_library` and `shared_library` also accept these keyword arguments.
### message()