reflect2 icon indicating copy to clipboard operation
reflect2 copied to clipboard

fix deadcode disabling in Go

Open tonistiigi opened this issue 7 months ago • 0 comments

Avoid embedding reflect.Type and its Method() method because exposing it disables deadcode removal in linker.

https://tip.golang.org/src/cmd/link/internal/ld/deadcode.go#L395

tonistiigi avatar Jul 09 '24 01:07 tonistiigi