Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ type Library func Configure(ctx context.Context, logger *zap.Logger, static bool) (*Library, error) func (l *Library) Install(ctx context.Context, logger *zap.Logger) (string, error) func (l *Library) WritePackageConfig(w io.Writer, buildid string) error type Target func (t Target) DetermineCargoTarget(logger *zap.Logger) string func (t Target) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Library ¶ type Library struct { Path string Version string Dir string Target Target } func Configure ¶ func Configure(ctx context.Context, logger *zap.Logger, static bool) (*Library, error) func (*Library) Install ¶ func (l *Library) Install(ctx context.Context, logger *zap.Logger) (string, error) func (*Library) WritePackageConfig ¶ func (l *Library) WritePackageConfig(w io.Writer, buildid string) error type Target ¶ type Target struct { OS string Arch string Arm string Static bool } func (Target) DetermineCargoTarget ¶ func (t Target) DetermineCargoTarget(logger *zap.Logger) string Determine the cargo target. func (Target) String ¶ func (t Target) String() string Source Files ¶ View all Source files build.go constants_unix.go Click to show internal directories. Click to hide internal directories.