Skip to content

-p prunes callbacks #58

@pguyot

Description

@pguyot

Running -p on atomvmlib + application will generate a non-working .avm because code_server module will be pruned. The reason is that prune wrongly removes modules that are only present as callbacks (in this case a supervisor callback).

Until we have a more solid prune algorithm, we probably should not prune any module whose name appears in the atoms of modules.

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