Skip to main content
Log in

Mojo function

get_linkage_name

get_linkage_name[func_type: AnyTrivialRegType, //, target: target, func: $0]() -> StringLiteral

Returns func symbol name.

Parameters:

  • func_type (AnyTrivialRegType): Type of func.
  • target (target): The compilation target.
  • func ($0): A mojo function.

Returns:

Symbol name.

get_linkage_name[func_type: AnyTrivialRegType, //, func: $0]() -> StringLiteral

Returns func symbol name.

Parameters:

  • func_type (AnyTrivialRegType): Type of func.
  • func ($0): A mojo function.

Returns:

Symbol name.