diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/markdown/Rust-module.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/Rust-module.md b/docs/markdown/Rust-module.md index 50e4854ca..5ee7b7da9 100644 --- a/docs/markdown/Rust-module.md +++ b/docs/markdown/Rust-module.md @@ -396,6 +396,16 @@ Accepts all keyword arguments from [[shared_library]] and [[static_library]]. `rust_abi` must match the crate types and is mandatory if more than one ABI is exposed by the crate. +#### package.shared_module() + +```meson +lib = pkg.shared_module(...) +``` + +Builds the `cdylib` for a workspace package as a shared module. + +Accepts all keyword arguments from [[shared_module]]. + #### package.proc_macro() ```meson |
