New features (in development)

Change to handling of linker arguments for Rust

Since the Rust compiler integrates the compiler and linker phase, previous Meson versions did not obey link_args, add_project_link_arguments or add_global_link_arguments.

Starting in this version, add_project_link_arguments(), add_global_link_arguments(), and the link_args keyword argument are supported for Rust. They wrap the arguments with -Clink-arg= when invoking rustc, and are only included when creating binary or shared library crates.

Likewise, methods such as has_link_argument() now wrap the arguments being tested with -Clink-arg=.

XC32 support now aware of v5.00 features

XC32 features introduced in v5.00 can now be used. This includes support for LTO auto and the C2x and CPP23 standards.

windows.compile_resources now detects header changes with rc.exe

The rc.exe resource compiler neither provides depfile support nor allows showing includes, as is possible with C or C++ compilers. Therefore, changes to files included by the .rc file did not trigger recompilation of the resource file.

A workaround was added to meson by calling the preprocessor on the .rc file to display the included headers and allow ninja to record them as dependencies.

Added implicit_include_directories argument to windows.compile_resources

Windows module compile_resources now have a implicit_include_directories keyword argument to automatically add current build and source directories to the included paths when compiling a resource.

The results of the search are