Consider adding -tags timetzdata
to Go builds by default.
#69
Labels
pkg:go
Relates to the Go package
-tags timetzdata
to Go builds by default.
#69
See https://pkg.go.dev/time/tzdata
Doing so removes Go's reliance on the system timezone database. I am in favour of this for two main reasons:
scratch
)It does have a 450KB size penalty, which is considerable, so it should definitely be possible to turn this off with a makefile variable.
Alternatively, if there were some way we could force Go to avoid the system database such that you have to explicitly turn this option on to use any timezone data, that could also work.
The text was updated successfully, but these errors were encountered: