]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: document -embedcfg flag
authorIan Lance Taylor <iant@golang.org>
Tue, 25 Feb 2025 18:51:29 +0000 (10:51 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 25 Feb 2025 20:26:38 +0000 (12:26 -0800)
Fixes #71942

Change-Id: Ie7e795506a9c8781f0e0963012233a7ed1093855
Reviewed-on: https://go-review.googlesource.com/c/go/+/652475
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
src/cmd/compile/doc.go

index 49abb857adfe132e95826f27fd6a3e5b3cc9f934..f76f402f382802287151d0dac72e3ea6f92e83e3 100644 (file)
@@ -60,6 +60,11 @@ Flags:
                Allow references to Go symbols in shared libraries (experimental).
        -e
                Remove the limit on the number of errors reported (default limit is 10).
+       -embedcfg file
+               Read go:embed configuration from file.
+               This is required if any //go:embed directives are used.
+               The file is a JSON file mapping patterns to lists of filenames
+               and filenames to full path names.
        -goversion string
                Specify required go tool version of the runtime.
                Exits when the runtime go version does not match goversion.