Skip to content

Dynamically load Erlang's symbols on startup instead of linking them #648

Closed
@filmor

Description

@filmor

Doing the "linking" explicitly using dlopen and dlsym has the advantage that

  1. The rustc flags on macOS become unnecessary
  2. We can add an additional main to list the NIFs without having to fake the symbols (as done in NIF Inspection Tool #614)
  3. Startup and calling would work the same way on all OSes, allowing us to ditch the build script (and thus speeding up the build)

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