diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-10-20 11:32:16 +0200 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2025-10-23 16:20:22 +0100 |
| commit | 8f8aade528c6cc4b812e063ce95b6705a040f61b (patch) | |
| tree | 50050ab42ad817afe9ba4331c32f5be4e054f422 /docs/markdown | |
| parent | b695f2d617fb965e364e8b05bd3f03490567782a (diff) | |
| download | meson-8f8aade528c6cc4b812e063ce95b6705a040f61b.tar.gz | |
cargo: use both_libraries when appropriate
Fixes: #15028
Diffstat (limited to 'docs/markdown')
| -rw-r--r-- | docs/markdown/Wrap-dependency-system-manual.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/markdown/Wrap-dependency-system-manual.md b/docs/markdown/Wrap-dependency-system-manual.md index f2ca665ff..077535a8d 100644 --- a/docs/markdown/Wrap-dependency-system-manual.md +++ b/docs/markdown/Wrap-dependency-system-manual.md @@ -331,10 +331,9 @@ Cargo subprojects automatically call `override_dependency` with the name * `0.0.x` -> '0' It allows to make different dependencies for incompatible versions of the same crate. -- the suffix is `-rs` for `rlib` and `dylib` crate types, otherwise it is the - crate type (e.g. `staticlib` or `cdylib`). The suffix is added to distinguish - Rust crates from regular system dependencies; for example `gstreamer-1.0` is a - system pkg-config dependency and `gstreamer-0.22-rs` is a Cargo dependency. +- the suffix is `-rs` for `rlib` and `dylib` crate types. The suffix is added to + distinguish Rust crates from C-ABI dependencies; for example `gstreamer-1.0` + is a system pkg-config dependency and `gstreamer-0.22-rs` is a Cargo dependency. That means the `.wrap` file should have `dependency_names = foo-1-rs` in their `[provide]` section when `Cargo.toml` has package name `foo` and version `1.2`. |
