3 ms·
For example, to disable compiler optimizations and inlining, you can use the following the gcflags. $ go build -gcflags="-N -I" The flag to disable inlini
by 0xmohit 10y ago
For example, to disable compiler optimizations and inlining,
you can use the following the gcflags.
$ go build -gcflags="-N -I"
The flag to disable inlining appears to be incorrect.
It should be `-l` and not `-I`, such that it reads:
$ go build -gcflags="-N -l"
- rakyll 10y agoWhoops, fixed the typo. Thanks!
- deleted 10y ago[deleted]