exec_tool

package
v1.0.42 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const XGO_COMPILER_BIN = "XGO_COMPILER_BIN"
View Source
const XGO_COMPILER_ENABLE = "XGO_COMPILER_ENABLE"
View Source
const XGO_COMPILER_OPTIONS_FILE = "XGO_COMPILER_OPTIONS_FILE"
View Source
const XGO_COMPILE_PKG_DATA_DIR = "XGO_COMPILE_PKG_DATA_DIR"
View Source
const XGO_DEBUG_COMPILE_LOG_FILE = "XGO_DEBUG_COMPILE_LOG_FILE"
View Source
const XGO_DEBUG_COMPILE_PKG = "XGO_DEBUG_COMPILE_PKG"
View Source
const XGO_DEBUG_DUMP_AST = "XGO_DEBUG_DUMP_AST"
View Source
const XGO_DEBUG_DUMP_AST_FILE = "XGO_DEBUG_DUMP_AST_FILE"
View Source
const XGO_DEBUG_DUMP_IR = "XGO_DEBUG_DUMP_IR"
View Source
const XGO_DEBUG_DUMP_IR_FILE = "XGO_DEBUG_DUMP_IR_FILE"
View Source
const XGO_DEBUG_VSCODE = "XGO_DEBUG_VSCODE"
View Source
const XGO_MAIN_MODULE = "XGO_MAIN_MODULE"
View Source
const XGO_SRC_WD = "XGO_SRC_WD"

xgo's original working dir

View Source
const XGO_STD_LIB_TRAP_DEFAULT_ALLOW = "XGO_STD_LIB_TRAP_DEFAULT_ALLOW"
View Source
const XGO_TOOLCHAIN_REVISION = "XGO_TOOLCHAIN_REVISION"
View Source
const XGO_TOOLCHAIN_VERSION = "XGO_TOOLCHAIN_VERSION"
View Source
const XGO_TOOLCHAIN_VERSION_NUMBER = "XGO_TOOLCHAIN_VERSION_NUMBER"

Variables

This section is empty.

Functions

func Main

func Main(args []string)

invoking examples:

go1.21.7/pkg/tool/darwin_amd64/compile -o /var/.../_pkg_.a -trimpath /var/...=> -p fmt -std -complete -buildid b_xx -goversion go1.21.7 -c=4 -nolocalimports -importcfg /var/.../importcfg -pack src/A.go src/B.go
go1.21.7/pkg/tool/darwin_amd64/link -V=full

Types

type DebugCompile added in v1.0.39

type DebugCompile struct {
	Package  string   `json:"package"`
	Env      []string `json:"env"`
	Compiler string   `json:"compiler"`
	Flags    []string `json:"flags"`
	Files    []string `json:"files"`
}

type VscodeDebugConfig

type VscodeDebugConfig struct {
	Name    string            `json:"name"`
	Type    string            `json:"type"`
	Request string            `json:"request"`
	Mode    string            `json:"mode"`
	Program string            `json:"program"`
	Cwd     string            `json:"cwd"`
	Args    []string          `json:"args"`
	Env     map[string]string `json:"env"`
}

func (*VscodeDebugConfig) ToMap

func (c *VscodeDebugConfig) ToMap() (map[string]interface{}, error)

type VscodeLaunchConfig

type VscodeLaunchConfig struct {
	Configurations []*VscodeDebugConfig `json:"configurations"`
}

type VscodeLaunchConfigMap

type VscodeLaunchConfigMap struct {
	Configurations []map[string]interface{} `json:"configurations"`
}

Jump to

Keyboard shortcuts

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