diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-06-18 12:14:13 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-06 14:44:31 -0700 |
| commit | 844c9e64121312688325fc97c6a322ffbed5008c (patch) | |
| tree | 528aabaa2b984a4027b297beade8601a2c2165df | |
| parent | 66ee4f956bc49452b7b5217e6c2bdb40a7f659b7 (diff) | |
| download | meson-844c9e64121312688325fc97c6a322ffbed5008c.tar.gz | |
interpreter: do not use coredata.set_option
The key is valid and there is no added functionality from coredata.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
| -rw-r--r-- | mesonbuild/interpreter/interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index e37b4e281..e7560f863 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -1153,7 +1153,7 @@ class Interpreter(InterpreterBase, HoldableObject): mlog.log('Auto detected Visual Studio backend:', mlog.bold(self.backend.name)) if not self.environment.first_invocation: raise MesonBugException(f'Backend changed from {backend_name} to {self.backend.name}') - self.coredata.set_option(OptionKey('backend'), self.backend.name, first_invocation=True) + self.coredata.optstore.set_option(OptionKey('backend'), self.backend.name, first_invocation=True) # Only init backend options on first invocation otherwise it would # override values previously set from command line. |
