def check_stdlibs(self) -> None:
    machine_choices = [MachineChoice.HOST]
    if self.coredata.is_cross_build():
        machine_choices.append(MachineChoice.BUILD)
    for for_machine in machine_choices:
        props = self.build.environment.properties[for_machine]
        for l in self.coredata.compilers[for_machine].keys():
            try:
                di = mesonlib.stringlistify(props.get_stdlib(l))
            except KeyError:
                continue
            if (len(di) == 1):
                FeatureNew.single_use('stdlib without variable name', '0.56.0', self.subproject, location=self.current_node)
            kwargs = {'native': (for_machine is MachineChoice.BUILD)}
            name = (l + '_stdlib')
            df = DependencyFallbacksHolder(self, [name])
            df.set_fallback(di)
            dep = df.lookup(kwargs, force_fallback=True)
            self.build.stdlibs[for_machine][l] = dep
def check_stdlibs(self) -> None:
    machine_choices = [MachineChoice.HOST]
    if self.coredata.is_cross_build():
        machine_choices.append(MachineChoice.BUILD)
    for for_machine in machine_choices:
        props = self.build.environment.properties[for_machine]
        for l in self.coredata.compilers[for_machine].keys():
            try:
                di = mesonlib.stringlistify(props.get_stdlib(l))
            except KeyError:
                continue
            if (len(di) == 1):
                FeatureNew.single_use('stdlib without variable name', '0.56.0', self.subproject, location=self.current_node)
            kwargs = {'native': (for_machine is MachineChoice.BUILD)}
            name = (l + '_stdlib')
            df = DependencyFallbacksHolder(self, [name])
            df.set_fallback(di)
            dep = df.lookup(kwargs, force_fallback=True)
            self.build.stdlibs[for_machine][l] = dep