config

package
v0.0.0-...-6155d41 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: GPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GeckoConfig = &Config{}
)

Functions

func Init

func Init()

Types

type CompileCfg

type CompileCfg struct {
	Arch     string
	Platform string
	Vendor   string
	CFlags   []string
	CLFlags  []string
	CObjects []string

	Ctx *cli.Context
}

type Config

type Config struct {
	StdLibPath      string             `json:"std_lib_path"`
	ModulesPath     string             `json:"modules_path"`
	ToolchainPath   string             `json:"toolchain_path"`
	Version         string             `json:"version"`
	DefaultCompiler string             `json:"default_compiler"`
	Options         *map[string]string `json:"options"`
}

Jump to

Keyboard shortcuts

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