Re: [go-nuts] Inlining of runtime/internal/atomic.Cas

2023-10-04 Thread Timur Celik
Thank you so much, this solves my issue. Really appreciate your work for the Go project, Ian. Cheers Ian Lance Taylor schrieb am Mi., 4. Okt. 2023, 18:05: > On Wed, Oct 4, 2023 at 5:36 AM Timur Celik wrote: > > > > Why is it that changes in the runtime package's atomic.Cas don't land in > > my

Re: [go-nuts] Inlining of runtime/internal/atomic.Cas

2023-10-04 Thread Ian Lance Taylor
On Wed, Oct 4, 2023 at 5:36 AM Timur Celik wrote: > > Why is it that changes in the runtime package's atomic.Cas don't land in > my build? I suspect it has something to do with inlining of the > function, but even with `-gcflags=-l` the atomic.Cas original > implementation seems to get inlined.