all: add -work flag

This flag has the same behavior as in upstream Go. It can be useful
while debugging certain issues.
This commit is contained in:
Ayke van Laethem
2022-02-16 18:38:03 +01:00
committed by Ron Evans
parent e9d9ae8781
commit 5746154cc0
3 changed files with 8 additions and 1 deletions
+1
View File
@@ -28,6 +28,7 @@ type Options struct {
PanicStrategy string
Scheduler string
Serial string
Work bool // -work flag to print temporary build directory
PrintIR bool
DumpSSA bool
VerifyIR bool