diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-10-26 12:22:03 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-12-22 11:58:30 +0100 |
| commit | 88e61261265607a4bcbeabc055e643d2ee2e66dd (patch) | |
| tree | b75b7765fda5e0ecc3e25694c769dbe9a16fd0a4 /test cases | |
| parent | 28db962cd183a961d9057a5b210d17d38771c9e6 (diff) | |
| download | meson-88e61261265607a4bcbeabc055e643d2ee2e66dd.tar.gz | |
cargo: allow overriding Meson's Cargo interpreter
Some projects may want to override Meson's AST generation for Cargo
projects. This was not really doable before without hard coding the
results of feature resolution; however, now it will be possible by
accessing the results of the global feature resolution from the Rust
module's workspace object.
At the same time, the subproject must keep using the Cargo method,
which is forced by the workspace object's subproject() method,
because otherwise the interpreter is not propagated. So just
skip the interpretation phase if a Meson.build is present.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'test cases')
0 files changed, 0 insertions, 0 deletions
