summaryrefslogtreecommitdiff
path: root/experiments
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-25 13:20:19 -0400
committerPietro Gagliardi <[email protected]>2014-05-25 13:20:19 -0400
commitd2746b7d2ca606f2212a9bd31e793d0778dad64d (patch)
tree4236efe2cdcad6aad2e734aee66fbf15c3587540 /experiments
parenta0f10000de25f94a84030e388248a6081faa25c0 (diff)
Added a comment to the previous commit.
Diffstat (limited to 'experiments')
-rw-r--r--experiments/windowsconstgen.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/experiments/windowsconstgen.go b/experiments/windowsconstgen.go
index 12f2744..d9fd3bb 100644
--- a/experiments/windowsconstgen.go
+++ b/experiments/windowsconstgen.go
@@ -133,7 +133,7 @@ func main() {
f.Close()
cmd := exec.Command("go", "run")
- cmd.Args = append(cmd.Args, goopts...)
+ cmd.Args = append(cmd.Args, goopts...) // valid if len(goopts) == 0; in that case this will just be a no-op
cmd.Args = append(cmd.Args, genoutname)
f, err = os.Create(filepath.Join(pkgpath, "zconstants_windows_" + targetarch + ".go"))
if err != nil {