On Mon, Oct 22, 2018 at 8:53 PM, Robert Engels <[email protected]> wrote: > > Wait... you can ship a Go binary that dynamically links with the Go runtime > and stdlib at runtime??? Awesome. Can you point me to the docs on this. I’ve > always considered the “single binary” taunted feature as somewhat of a > limitation because of this.
go install -buildmode=shared std go build -linkshared hello.go https://golang.org/cmd/go/#hdr-Build_modes It doesn't work on every system but it does work on GNU/Linux. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
