You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd/internal/obj,etc: replace -shared with -buildmode=c-shared
Currently some compilers and the assembler take a -shared flag which
means approximately what the -buildmode=c-shared flag means in the
proposed "Go Execution Modes" document. As part of implementing other
modes, the term "shared" becomes horribly overloaded, so this adds a
-buildmode argument instead (which currently only handles
-buildmode=c-shared, no new behaviour here).
The compilers retain a -shared argument as an alias for
-buildmode=c-shared. The assemblers in 1.4 did not support -shared and
the tool has a different name now in any case, so I don't see a reason
to maintain compatibility there.
0 commit comments