Documentation ¶
Overview ¶
Package compilers provides utilities for compiling programs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Compilation ¶
type Compilation struct { // The compiled program. This is unset if the compilation failed. Program *runpb.CompiledProgram // The output printed by the compiler to stdout. Output string // The output printed by the compiler to stderr. Errors string }
A Compilation represents the output of a program compilation.
func Copy ¶
func Copy(req *runpb.Program, outputPath string, _ execpb.ExecuteServiceClient) (*Compilation, error)
Copy produces a compiled progam that is simply the input program but with all files copied into the output path.
Click to show internal directories.
Click to hide internal directories.