diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-07-14 19:50:05 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-07-14 15:44:27 -0700 |
| commit | 0376d655694747ba36aa2bfd94e5bce2d2f1efa8 (patch) | |
| tree | 13806872434b6a3889be4b01f2fbf1a8cacd6878 /mesonbuild/environment.py | |
| parent | 23e4901088cc4690d8ffbef9796421e42d77f5bd (diff) | |
| download | meson-0376d655694747ba36aa2bfd94e5bce2d2f1efa8.tar.gz | |
environment: really remove assertion
Fixes: #14789
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/environment.py')
| -rw-r--r-- | mesonbuild/environment.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index a6783c50c..19e8b4e2e 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -729,7 +729,6 @@ class Environment: def mfilestr2key(self, machine_file_string: str, section: T.Optional[str], section_subproject: T.Optional[str], machine: MachineChoice) -> OptionKey: key = OptionKey.from_string(machine_file_string) - assert key.machine == MachineChoice.HOST if key.subproject: suggestion = section if section == 'project options' else 'built-in options' raise MesonException(f'Do not set subproject options in [{section}] section, use [subproject:{suggestion}] instead.') |
