Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid reference to time.loadFromEmbeddedTZData #19

Open
nabim777 opened this issue Mar 24, 2025 · 0 comments
Open

invalid reference to time.loadFromEmbeddedTZData #19

nabim777 opened this issue Mar 24, 2025 · 0 comments

Comments

@nabim777
Copy link
Member

nabim777 commented Mar 24, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant