link

package
v1.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const LEGACY_PREFIX = "runtime_link_"
View Source
const XGO_PREFIX = "__xgo_"

Variables

This section is empty.

Functions

func LinkXgoInit

func LinkXgoInit(fn *ir.Func)

LinkXgoInit links function defined in runtime the function template:

  var __xgo_trap_0 = func() {}

  func init() {
	  __xgo_init_0()
  }

  //go:noinline
  func __xgo_init_0() {
  	__xgo_trap_0 = __xgo_trap_0
  }

Types

type Link struct {
	From string
	To   string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL