Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
filmor opened this issue Aug 17, 2024 · 0 comments
Closed

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

filmor opened this issue Aug 17, 2024 · 0 comments

Comments

@filmor
Copy link
Member

filmor commented Aug 17, 2024

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant