Skip to content

Commit

Permalink
coredata: fix arguments that are swapped
Browse files Browse the repository at this point in the history
This should be `(key, value, is_first_invocation)`, but is instance
`(key, is_first_invocation, value)`
  • Loading branch information
dcbaker committed Mar 4, 2025
1 parent b1eab89 commit 03b09bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/coredata.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def copy_build_options_from_regular_ones(self, shut_up_pylint: bool = True) -> b
assert not self.is_cross_build()
for k in options.BUILTIN_OPTIONS_PER_MACHINE:
o = self.optstore.get_value_object_for(k.name)
dirty |= self.optstore.set_value(k, True, o.value)
dirty |= self.optstore.set_value(k, o.value, True)
for bk, bv in self.optstore.items():
if bk.machine is MachineChoice.BUILD:
hk = bk.as_host()
Expand Down

0 comments on commit 03b09bc

Please sign in to comment.