Skip to content

No N-API equivalent for new well-known-symbol loading feature #19845

Closed
@gabrielschulhof

Description

@gabrielschulhof

@bnoordhuis adds support for loading a module by looking for a well-known symbol if the module fails to self-register in 3828fc6. The new code looks for a symbol that matches the NODE_MODULE_VERSION (node_register_module_${NODE_MODULE_VERSION}).

We need to extend this approach to N-API modules as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    node-apiIssues and PRs related to the Node-API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions