add changelog for Rust crate-type support

pull/2024/head
Adam C. Foltzer 8 years ago committed by Jussi Pakkanen
parent c0ab6e9d5b
commit af7c8ab449
  1. 10
      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

Loading…
Cancel
Save