On Tue, Feb 11, 2025 at 1:57 AM Pierre Gimalac <pierre.gima...@datadoghq.com> wrote: > > But in that case why would that only happen for dynamic builds ? > Shouldn't all unexported methods also be kept for the "normal" build ?
In a normal build the linker can see all the code in the program, so it knows whether something is possible. In a dynamic build it doesn't know. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcVyuNv4tPEKVeLpYd7zXFhPf43UH8WxvNkx0EZiJF72LQ%40mail.gmail.com.