main: move compile options to compileopts package

This commit is contained in:
Ayke van Laethem
2019-10-31 16:38:49 +01:00
committed by Ron Evans
parent ef600965aa
commit 59cc901340
3 changed files with 83 additions and 80 deletions
+21
View File
@@ -0,0 +1,21 @@
package compileopts
// Options contains extra options to give to the compiler. These options are
// usually passed from the command line.
type Options struct {
Opt string
GC string
PanicStrategy string
Scheduler string
PrintIR bool
DumpSSA bool
VerifyIR bool
Debug bool
PrintSizes string
CFlags []string
LDFlags []string
Tags string
WasmAbi string
HeapSize int64
TestConfig TestConfig
}