For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).
get_linkage_name
get_linkage_name[func_type: AnyType, //, func: func_type, *, target: __mlir_type.`!kgen.target` = _current_target()]() -> StaticString
Returns func's symbol name.
Parameters:
- func_type (
AnyType): Type of func. - func (
func_type): A mojo function. - target (
__mlir_type.`!kgen.target`): The compilation target, defaults to the current target.
Returns:
StaticString: Symbol name.