]> Cypherpunks repositories - gostls13.git/commitdiff
doc: mention removal of cmd/compile's -importmap and -installsuffix flags
authorMatthew Dempsky <mdempsky@google.com>
Wed, 13 Jul 2022 22:00:53 +0000 (15:00 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 1 Aug 2022 17:07:11 +0000 (17:07 +0000)
Updates #51225.

Change-Id: I820f3f5ba169635fee37c30e41b370c9399a436d
Reviewed-on: https://go-review.googlesource.com/c/go/+/417534
Reviewed-by: Russ Cox <rsc@golang.org>
doc/go1.19.html

index 8fc28b94bf1d70278f798da3954704b15d652a32..321dec642b085fd9a68b91bfe0478a600cd16e53 100644 (file)
@@ -252,6 +252,13 @@ as well as support for rendering them to HTML, Markdown, and text.
   that invoke the Go compiler directly will need to make sure they
   pass this flag as well.
 </p>
+<p><!-- CL 415235 --><!-- CL 415236 -->
+  The Go compiler no longer accepts the <code>-importmap</code>
+  or <code>-installsuffix</code> flags. Build systems that invoke the
+  Go compiler directly must use the <code>-importcfg</code> flag
+  instead. (The <code>go</code> command's <code>-installsuffix</code>
+  build flag is still supported and unaffected by this change.)
+</p>
 
 <h2 id="assembler">Assembler</h2>
 <p><!-- CL 404298 -->