diff options
| author | Xavier Claessens <xclaessens@netflix.com> | 2025-05-31 15:59:22 -0400 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2025-10-17 16:15:14 -0400 |
| commit | f1bd4aea5e299ff69a6b6a11d7d16547d875b5e0 (patch) | |
| tree | 018c4d067ebc7e41e16c404b1cb49e2614525990 /docs/markdown | |
| parent | d37d46d32e07e39bce31c84f7c5da7a5038a256e (diff) | |
| download | meson-f1bd4aea5e299ff69a6b6a11d7d16547d875b5e0.tar.gz | |
cargo: define 'features' variable to be used in meson/meson.build
Diffstat (limited to 'docs/markdown')
| -rw-r--r-- | docs/markdown/Wrap-dependency-system-manual.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/markdown/Wrap-dependency-system-manual.md b/docs/markdown/Wrap-dependency-system-manual.md index 402dbe3e6..f2ca665ff 100644 --- a/docs/markdown/Wrap-dependency-system-manual.md +++ b/docs/markdown/Wrap-dependency-system-manual.md @@ -362,6 +362,8 @@ Some naming conventions need to be respected: This is typically used as `extra_args += ['--cfg', 'foo']`. - The `extra_deps` variable is pre-defined and can be used to add extra dependencies. This is typically used as `extra_deps += dependency('foo')`. +- The `features` variable is pre-defined and contains the list of features enabled + on this crate. Since *1.5.0* Cargo wraps can also be provided with `Cargo.lock` file at the root of (sub)project source tree. Meson will automatically load that file and convert |
