Skip to content

Commit

Permalink
options: document OptionStore.pending_options
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbaker committed Mar 11, 2025
1 parent 178aecd commit 4c7f1f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mesonbuild/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,9 +798,13 @@ def __init__(self, is_cross: bool) -> None:
self.all_languages = set(all_languages)
self.project_options = set()
self.augments: T.Dict[str, str] = {}
self.pending_options: T.Dict[OptionKey, str] = {}
self.is_cross = is_cross

# Pending options are options that need to be initialized later, either
# configuration dependent options like compiler options, or options for
# a different subproject
self.pending_options: T.Dict[OptionKey, ElementaryOptionValues] = {}

def clear_pending(self) -> None:
self.pending_options = {}

Expand Down

0 comments on commit 4c7f1f6

Please sign in to comment.