summaryrefslogtreecommitdiff
path: root/docs/yaml/functions/shared_module.yaml
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2023-04-21 16:21:48 -0400
committerXavier Claessens <xclaesse@gmail.com>2023-09-19 13:54:49 -0400
commit10dcd87d002f6f36b1f60371dc807b8d9959d97b (patch)
tree676b5597a7accdd4e2853d7c53f3453535dc5727 /docs/yaml/functions/shared_module.yaml
parent8ccdb881374084ddb90ef259539cfd3bb748c904 (diff)
downloadmeson-10dcd87d002f6f36b1f60371dc807b8d9959d97b.tar.gz
Rust: Replace rust_crate_type with rust_abi
Meson already knows if it's a shared or static library, user only need to specify the ABI (Rust or C).
Diffstat (limited to 'docs/yaml/functions/shared_module.yaml')
-rw-r--r--docs/yaml/functions/shared_module.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/yaml/functions/shared_module.yaml b/docs/yaml/functions/shared_module.yaml
index 20bd5c488..46086ba30 100644
--- a/docs/yaml/functions/shared_module.yaml
+++ b/docs/yaml/functions/shared_module.yaml
@@ -39,3 +39,11 @@ kwargs:
description: |
Specify a Microsoft module definition file for controlling symbol exports,
etc., on platforms where that is possible (e.g. Windows).
+
+ rust_abi:
+ type: str
+ since: 1.3.0
+ description: |
+ Set the specific ABI to compile (when compiling rust).
+ - 'rust' (default): Create a "dylib" crate.
+ - 'c': Create a "cdylib" crate.