summaryrefslogtreecommitdiff
path: root/docs/markdown/Release-notes-for-0.42.0.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/Release-notes-for-0.42.0.md')
-rw-r--r--docs/markdown/Release-notes-for-0.42.0.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/Release-notes-for-0.42.0.md b/docs/markdown/Release-notes-for-0.42.0.md
index ea9d7b1fb..d6d53653a 100644
--- a/docs/markdown/Release-notes-for-0.42.0.md
+++ b/docs/markdown/Release-notes-for-0.42.0.md
@@ -36,3 +36,13 @@ pkg.generate(libraries : libs,
description : 'A simple demo library.',
extra_cflags : '-Dfoo' )
```
+
+## Allow crate type configuration for Rust compiler
+
+Rust targets now take an optional `rust_crate_type` keyword, allowing
+you to set the crate type of the resulting artifact. Valid crate types
+are `dylib` or `cdylib` for shared libraries, and `rlib` or
+`staticlib` for static libraries. For more, see
+Rust's [linkage reference][rust-linkage].
+
+[rust-linkage]: https://doc.rust-lang.org/reference/linkage.html