(self)
return False
Is this target a rust target.
Is this target a rust target.
Is this target a rust target .
def uses_rust(self) -> bool:
        """Is this target a rust target."""
        if self.sources:
            first_file = self.sources[0]
            if first_file.fname.endswith('.rs'):
                return True
        elif self.generated:
            if self.generated[0].get_outputs()[0].endswith('.rs'):
                return True
        return False
def uses_rust ( self ) -> bool : if self . sources : first_file = self . sources [ 0 ] if first_file . fname . endswith ( '.rs' ) : return True elif self . generated : if self . generated [ 0 ] . get_outputs ( ) [ 0 ] . endswith ( '.rs' ) : return True return False