diff options
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 093ab8f..d51e2e3 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -114,9 +114,6 @@ class Build: self.environment = environment self.projects = {} self.targets = OrderedDict() - # Coredata holds the state. This is just here for convenience. - self.compilers = environment.coredata.compilers - self.cross_compilers = environment.coredata.cross_compilers self.global_args = {} self.projects_args = {} self.global_link_args = {} @@ -149,10 +146,6 @@ class Build: def copy(self): other = Build(self.environment) for k, v in self.__dict__.items(): - if k in ['compilers', 'cross_compilers']: - # These alias coredata's fields of the same name, and must not - # become copies. - continue if isinstance(v, (list, dict, set, OrderedDict)): other.__dict__[k] = v.copy() else: |