Skip to content

Incompatibility with Julia 1.11-rc1 and 1.11-rc2 #951

@PatrickHaecker

Description

@PatrickHaecker

Creating an app using Julia 1.11-rc1 (also the manifest files pointing to 1.11-rc1) fails with the error

error: too few arguments to function ‘jl_get_binding_wr’
  109 |     jl_binding_t *bp = jl_get_binding_wr(jl_base_module, var);

Replacing line 108 of embedding_wrapper.c by

#if JULIA_VERSION_MAJOR == 1 && JULIA_VERSION_MINOR >= 11
    jl_binding_t *bp = jl_get_binding_wr(jl_base_module, var, 1);
    jl_checked_assignment(bp, jl_base_module, var, firstarg);
#elif JULIA_VERSION_MAJOR == 1 && JULIA_VERSION_MINOR >= 10

lets the build finish successfully. This is a trivial combination of the existing code for 1.9 and 1.10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions