nativebuild

package
v0.2.28 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package nativebuild builds the pinned codec libraries used by CGO. Moon owns the tasks and Mise owns tool installation; this package only runs the native build and preserves the Windows SDK/path handling of the previous client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, root string) error

Types

type Toolchain

type Toolchain struct{ MSYSBin, CompilerBin, SDKRoot string }

func HostToolchain

func HostToolchain(ctx context.Context) (Toolchain, error)

func (Toolchain) Check

func (toolchain Toolchain) Check(ctx context.Context) error

func (Toolchain) Command

func (toolchain Toolchain) Command(ctx context.Context, program string, args ...string) *exec.Cmd

func (Toolchain) Extract

func (toolchain Toolchain) Extract(ctx context.Context, archive, destination string) error

func (Toolchain) UnixPath

func (toolchain Toolchain) UnixPath(ctx context.Context, path string) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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