From af7c8ab449b8e59bdbdbcb9e1f7ee8b93184ce0c Mon Sep 17 00:00:00 2001 From: "Adam C. Foltzer" Date: Fri, 30 Jun 2017 16:15:25 -0400 Subject: [PATCH] add changelog for Rust crate-type support --- docs/markdown/Release-notes-for-0.42.0.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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