mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 10:43:29 +00:00
main: fix outdated panic option text
This commit is contained in:
@@ -38,7 +38,7 @@ type Config struct {
|
|||||||
GOOS string //
|
GOOS string //
|
||||||
GOARCH string //
|
GOARCH string //
|
||||||
GC string // garbage collection strategy
|
GC string // garbage collection strategy
|
||||||
PanicStrategy string // panic strategy ("abort" or "trap")
|
PanicStrategy string // panic strategy ("print" or "trap")
|
||||||
CFlags []string // cflags to pass to cgo
|
CFlags []string // cflags to pass to cgo
|
||||||
LDFlags []string // ldflags to pass to cgo
|
LDFlags []string // ldflags to pass to cgo
|
||||||
ClangHeaders string // Clang built-in header include path
|
ClangHeaders string // Clang built-in header include path
|
||||||
|
|||||||
@@ -617,7 +617,7 @@ func main() {
|
|||||||
outpath := flag.String("o", "", "output filename")
|
outpath := flag.String("o", "", "output filename")
|
||||||
opt := flag.String("opt", "z", "optimization level: 0, 1, 2, s, z")
|
opt := flag.String("opt", "z", "optimization level: 0, 1, 2, s, z")
|
||||||
gc := flag.String("gc", "", "garbage collector to use (none, leaking, conservative)")
|
gc := flag.String("gc", "", "garbage collector to use (none, leaking, conservative)")
|
||||||
panicStrategy := flag.String("panic", "print", "panic strategy (abort, trap)")
|
panicStrategy := flag.String("panic", "print", "panic strategy (print, trap)")
|
||||||
printIR := flag.Bool("printir", false, "print LLVM IR")
|
printIR := flag.Bool("printir", false, "print LLVM IR")
|
||||||
dumpSSA := flag.Bool("dumpssa", false, "dump internal Go SSA")
|
dumpSSA := flag.Bool("dumpssa", false, "dump internal Go SSA")
|
||||||
tags := flag.String("tags", "", "a space-separated list of extra build tags")
|
tags := flag.String("tags", "", "a space-separated list of extra build tags")
|
||||||
|
|||||||
Reference in New Issue
Block a user