Open
Description
When building a C library from rust code we have to pass rust_crate_type: 'cdylib'
or rust_crate_type: 'staticlib'
depending if it's a shared_library() or static_library(). But in the case of both_libraries() or library() the value must be different depending on default_library option.
We probably need to add a new value rust_crate_type: 'clib'
to mean cdylib
if shared library, staticlib
if static library.
Activity