(self, tool: T.Union['Compiler', 'StaticLinker', 'DynamicLinker'])
return options
Helper method to get rsp options.

        rsp_file_syntax() is only guaranteed to be implemented if
        can_linker_accept_rsp() returns True.
Helper method to get rsp options.
Helper method to get rsp options .
def _rsp_options(self, tool: T.Union['Compiler', 'StaticLinker', 'DynamicLinker']) -> T.Dict[str, T.Union[bool, RSPFileSyntax]]:
        """Helper method to get rsp options.

        rsp_file_syntax() is only guaranteed to be implemented if
        can_linker_accept_rsp() returns True.
        """
        options = dict(rspable=tool.can_linker_accept_rsp())
        if options['rspable']:
            options['rspfile_quote_style'] = tool.rsp_file_syntax()
        return options
def _rsp_options ( self , tool : T . Union [ 'Compiler' , 'StaticLinker' , 'DynamicLinker' ] ) -> T . Dict [ str , T . Union [ bool , RSPFileSyntax ] ] : options = dict ( rspable = tool . can_linker_accept_rsp ( ) ) if options [ 'rspable' ] : options [ 'rspfile_quote_style' ] = tool . rsp_file_syntax ( ) return options