Skip to content

invalid reference to time.loadFromEmbeddedTZData #19

@nabim777

Description

@nabim777

Descriptions

When running the following command the build fails with the following linker error:

go run main.go diff

Output:

# command-line-arguments
link: github.com/go-chrono/chrono: invalid reference to time.loadFromEmbeddedTZData

Steps to Reproduce

  1. Use Go 1.22+ (Eg: 1.23)
  2. Run the command go run main.go diff
  3. Observe the error

Note:

This issue does not occur on Go 1.22 but starts appearing in 1.22+.
This seems to be an incompatibility with Go 1.22+ probably

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions