Comment

Comment by 0xmohit

  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"
parent 0xmohit 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton