Lines Matching full:meson
19 The Rust in QEMU code is included in the emulators via Meson. Meson
40 * by using Makefile targets, provided by Meson, that run ``clippy`` or
46 A target for ``rustfmt`` is also declared in ``rust/meson.build``:
50 * by invoking ``cargo`` through the Meson `development environment`__
53 pyvenv/bin/meson devenv -w ../rust cargo clippy --tests
54 pyvenv/bin/meson devenv -w ../rust cargo fmt
56 If you are going to use ``cargo`` repeatedly, ``pyvenv/bin/meson devenv``
69 be run via ``meson test`` or ``make``::
422 slightly complicated process, mostly due to the need to teach Meson how
423 to build them. While Meson has initial support for parsing ``Cargo.lock``
426 Therefore, external crates must be added as subprojects for Meson to
437 Second, a new ``wrap`` file must be added to teach Meson how to download the
443 Third, the Meson rules to build the crate must be added at
444 ``subprojects/NAME-SEMVER-rs/meson.build``. Generally this includes:
450 * ``declare_dependency`` and a ``meson.override_dependency`` lines to expose
454 ``meson.override_dependency`` for dependencies of procedural macros.
469 After every change to the ``meson.build`` file you have to update the patched
470 version with ``meson subprojects update --reset ``NAME-SEMVER-rs``. This might
473 Also, after every change to the ``meson.build`` file it is strongly suggested to
475 ``# version 2``), which will help Meson notice that the subproject is out of date.