Skip to content

Save pkgversion result (and maybe some other metadata) at package precompilation. Do not rely on Project.toml existence for compiled apps. #60085

@sairus7

Description

@sairus7

There is an issue with incorrect package version handling in compiled code that leads to crash in PackageCompile'd apps:
JuliaImGui/CImGui.jl#187 (comment)

I think one workaround is to make pkgversion a macro or generated function, so it scans for Project.toml at parse time, when it is not thrown away by the PackageCompiler.

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