Context: https://go.dev/cl/498595
This statement prevents Config.EncryptTicket from being dead-code eliminated:
var _ = &Config{WrapSession: (&Config{}).EncryptTicket}
Seems like the compiler (linker?) could notice that the reference is dead and eliminate it.
Context: https://go.dev/cl/498595
This statement prevents
Config.EncryptTicketfrom being dead-code eliminated:Seems like the compiler (linker?) could notice that the reference is dead and eliminate it.