The release of the Meson build system 1.7.0, written in Python, has been published.
Key changes in the new version:
- Command line option overrides: You can now fully override option values for subprojects (including the main project) via the command line. This provides flexibility in managing settings for different parts of the project.
- Cargo support:
- Meson now resolves all dependencies and features for Cargo projects before generating the AST, preventing configuration errors.
- The –cap-lints allow flags are now added automatically to hide compiler warnings.
- Clippy support for Rust: Meson can now run clippy for Rust projects, simplifying code checks.
- Meson now supports the new Rust 2024 edition, requiring compiler version 1.85.0 or higher.
- Changes in test behavior: Now, meson test and ninja all will not rebuild test targets by default, preventing unnecessary builds but may require adjustments in workflows for some users.
- New variable MESON_NUM_PROCESSES: It allows you to control the number of parallel processes for tests and external projects, expanding multitasking configuration options.
Source: linux.org.ru
