compile

package
v1.44.4 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoBinary

func GoBinary(cfg *buildconf.Config, outputPath string, entrypointPkg string, ldFlags []string)

GoBinary compiles a Go binary for the given OS and architecture with GCP enabled

This file was inspired by the blog post: https://lucor.dev/post/cross-compile-golang-fyne-project-using-zig/

func RustBinary

func RustBinary(cfg *buildconf.Config, artifactPath, outputPath string, cratePath string, libc string, extraFeatures []string, extraEnvVars ...string)

CompileRustBinary compiles a Rust binary for the given OS and architecture

We're using zigbuild to perform easy cross compiling

Types

This section is empty.

Jump to

Keyboard shortcuts

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