summaryrefslogtreecommitdiff
path: root/test cases/python3/1 basic/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-10-24 14:28:51 +0200
committerDylan Baker <dylan@pnwbakers.com>2025-10-29 11:34:19 -0700
commit7945110915e438d4d47c26c5bfa510d88b99ac7a (patch)
treee114e7cf08323c9503951954b3ec12ca19aa3b7c /test cases/python3/1 basic/meson.build
parentae54417100e29925a85510e556e7c5da97f2a4dc (diff)
downloadmeson-7945110915e438d4d47c26c5bfa510d88b99ac7a.tar.gz
cargo: always create a dummy workspace
Cargo allows path in dependencies even outside a workspace. To support this in Meson, always create a dummy WorkspaceState outside non-workspace manifests. Another bug that this fixes is that the default feature was not added for workspaces, only for projects. In addition, this removes some confusion and code duplication between interpret_package() and interpret_workspace(). Because they are respectively for top-level directories and subdirectories, interpret_package always has a project_root and interpret_workspace never does.
Diffstat (limited to 'test cases/python3/1 basic/meson.build')
0 files changed, 0 insertions, 0 deletions