Building NATS with golang and special flags !

24 views
Skip to first unread message

Go System Engineer

unread,
Jan 19, 2023, 11:05:51 PM1/19/23
to nats
Hi Folks, is it possible to know which flags were used for the production release of NATS with golang compiler so the binary executable I generate gives the same exact hash value as production release of NATS ?

R.I.Pienaar

unread,
Jan 20, 2023, 8:04:57 AM1/20/23
to natsio
You can use: go version -m nats-server

But if your goal is to achieve the same bytes, then just use our bytes.

On Fri, 20 Jan 2023, at 05:05, Go System Engineer wrote:
Hi Folks, is it possible to know which flags were used for the production release of NATS with golang compiler so the binary executable I generate gives the same exact hash value as production release of NATS ?


--
You received this message because you are subscribed to the Google Groups "nats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to natsio+un...@googlegroups.com.

--
R.I.Pienaar / www.devco.net / @ripienaar

Reply all
Reply to author
Forward
0 new messages