builders

command
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

asm builds a single .s file with "go tool asm". It is invoked by the Go rules as an action.

cgo invokes "go tool cgo" after filtering souces, and then process the output into a normalised form. It is invoked by the Go rules as an action.

compile compiles .go files with "go tool compile". It is invoked by the Go rules as an action.

cover transforms a source file with "go tool cover". It is invoked by the Go rules as an action.

embed generates a .go file from the contents of a list of data files. It is invoked by go_embed_data as an action.

info prints debugging information about the go environment. It is used to help examine the execution environment of rules_go

link combines the results of a compile step using "go tool link". It is invoked by the Go rules as an action.

md5sum replicates the equivalent functionality of the unix tool of the same name.

pack copies an .a file and appends a list of .o files to the copy using go tool pack. It is invoked by the Go rules as an action.

pack can also append .o files contained in a static library passed in with the -arc option. That archive may be in BSD or SysV / GNU format. pack has a primitive parser for these formats, since cmd/pack can't handle them, and ar may not be available (cpp.ar_executable is libtool on darwin).

protoc invokes the protobuf compiler and captures the resulting .pb.go file.

stdlib builds the standard library in the appropriate mode into a new goroot.

stdlib builds the standard library in the appropriate mode into a new goroot.

Jump to

Keyboard shortcuts

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