Skip to content

Downstream native-image embedders are broken #907

@sgammon

Description

@sgammon

// not required at runtime
exclude("org/pkl/cli/svm/**")

This exclusion drops key classes from the pkl-cli JAR which are needed to build Pkl native binaries. While the comment is correct, these classes are inert for JVM use at runtime, embedders will Have A Bad Time if these classes are excluded from a native-image classpath downstream, when using the pkl-cli-* JAR.

These classes can be dropped from fat JARs, because shading with Truffle is only supported on JVM anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions