summaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreterobjects.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-10-26 12:22:03 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2025-12-22 11:58:30 +0100
commit88e61261265607a4bcbeabc055e643d2ee2e66dd (patch)
treeb75b7765fda5e0ecc3e25694c769dbe9a16fd0a4 /mesonbuild/interpreter/interpreterobjects.py
parent28db962cd183a961d9057a5b210d17d38771c9e6 (diff)
downloadmeson-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 'mesonbuild/interpreter/interpreterobjects.py')
0 files changed, 0 insertions, 0 deletions