From 9991227229a711b8c606bc93ea0731f8b43823bf Mon Sep 17 00:00:00 2001
From: Rob Pike GOOS
and GOARCH
.
-There are a couple of other changes.
-The more significant is the addition of a -buildmode
option that
+There are several other changes.
+The most significant is the addition of a -buildmode
option that
expands the style of linking; it now supports
situations such as building shared libraries and allowing other languages
to call into Go libraries.
@@ -436,6 +436,29 @@ Also, although this may be fixed, Windows cgo executables are missing some
DWARF information.
+Finally, the -X
flag, which takes two arguments,
+as in
+
+-X importpath.name value ++ +
+now also accepts a more common Go flag style with a single argument
+that is itself a name=value
pair:
+
+-X importpath.name=value ++ +
+Although the old syntax still works, it is recommended that uses of this +flag in scripts and the like be updated to the new form. +
+-- 2.48.1