cc

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: BSD-3-Clause, MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version() string

Version reports the version of the qbe package.

Types

type Task

type Task struct {
	D []string // -D argument. Read only.
	I []string // -I argument. Read only.
	O string   // -O argument. Read only.
	U []string // -U argument. Read only.

	E bool // -E, read only.
	// contains filtered or unexported fields
}

Task represents a compilation job.

func NewTask

func NewTask(name string, args []string, stdout, stderr io.Writer) *Task

NewTask returns a newly created Task.

func (*Task) Main

func (t *Task) Main() (err error)

Main executes task.

Jump to

Keyboard shortcuts

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