diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-12-18 08:45:41 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-12-18 08:49:01 -0800 |
| commit | 298da8a8d4c6709bd51e669310b443778c880720 (patch) | |
| tree | d63ff5452b9d50230b852734c73db9f100f65915 /unittests | |
| parent | cc9c037493119dc43e2910d26688957fe60b63a7 (diff) | |
| download | meson-298da8a8d4c6709bd51e669310b443778c880720.tar.gz | |
compilers: fix direction of cross-build test
This used to be
if for_machine is MachineChoice.BUILD and not is_cross:
so it needed to be negated. This is also clearly wrong because
"env.is_cross_build(for_machine)" has no effect - it is only true
if for_machine is MachineChoice.HOST, in which case key.as_host()
does nothing.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'unittests')
0 files changed, 0 insertions, 0 deletions
