Documentation ¶
Overview ¶
compilepkg compiles a complete Go package from Go, C, and assembly files. It supports cgo, coverage, and nogo. It is invoked by the Go rules as an action.
This file contains constants used by nogo binaries. Note that this file is shared between the nogo binary and the builder. Sharing it as a library isn't possible as libraries depend on nogo, creating a circular dependency.
Package edit implements buffered position-based editing of byte slices.
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.
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.
Source Files ¶
- ar.go
- asm.go
- builder.go
- cc.go
- cgo2.go
- compilepkg.go
- constants.go
- cover.go
- edit.go
- embedcfg.go
- env.go
- filter.go
- filter_buildid.go
- flags.go
- generate_nogo_main.go
- generate_test_main.go
- go_path.go
- importcfg.go
- info.go
- link.go
- md5sum.go
- nogo.go
- nogo_main.go
- nogo_typeparams_go118.go
- nogo_validation.go
- nolint.go
- path.go
- protoc.go
- read.go
- read_test_fixture.go
- replicate.go
- stdlib.go
- stdliblist.go