Skip to content

time: add notimetzdata tag to disable tzdata embed #38679

@ernado

Description

@ernado

Following #38017

Currently any transitive dependency that performs import _ "time/tzdata" will add 800kb to binary size, which is unfortunate and can compromise ongoing efforts to reduce binary size (e.g. https://github.com/tailscale/go by @bradfitz)

I propose to add notimetzdata tag so we can opt-out embedded tzdata and will make import _ "time/tzdata" no-op.

What do you think? 🙂

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions