Skip to content

Use PrecompileTools for artifact resolution#508

Open
langestefan wants to merge 3 commits intoJuliaTime:masterfrom
langestefan:juliac
Open

Use PrecompileTools for artifact resolution#508
langestefan wants to merge 3 commits intoJuliaTime:masterfrom
langestefan:juliac

Conversation

@langestefan
Copy link
Copy Markdown

@langestefan langestefan commented Feb 20, 2026

Fixes #507

Created with help of Claude (hence the verbose comments, can be removed ofcourse)

@langestefan langestefan marked this pull request as draft February 20, 2026 10:59
@langestefan langestefan marked this pull request as ready for review February 20, 2026 11:35
Comment thread src/TimeZones.jl

@static if VERSION >= v"1.9"
# Also sets _COMPILED_DIR so the TimeZone("UTC") call below can load tzdata.
_COMPILED_DIR[] = _resolve_tzjdata_dir()
Copy link
Copy Markdown
Contributor

@giordano giordano Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with the internals of the package, but in general backing at precompile time constants which are supposed to be evaluated at runtime is a bad idea. Or that's changed again at runtime?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@langestefan
Copy link
Copy Markdown
Author

@omus could you take a look at this if you have a minute? thanks!

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

Successfully merging this pull request may close these issues.

JuliaC --trim compatibility

2 participants