-
Notifications
You must be signed in to change notification settings - Fork 56
added ability to loadDynlib through command line flag #124
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
base: master
Are you sure you want to change the base?
added ability to loadDynlib through command line flag #124
Conversation
I'm trying to make a test for loading dynlibs but seems to crash whenever you actually call the extern function
The |
@FrederickPu You cannot define an |
thx. |
Also even when I put it into a compiled module it still fails:
|
I've just pushed my changes to the |
The imported module itself has to be compiled into the dynlib, not just the FFI code. That is, the Lean module |
now i get the following issue:
|
User can specify dynlibs when running lean repl using command line flag
lake env path/to/repl --dynlib pathtodynlib1.so pathtodynlib2.so ...
Added general interface for creating command line flags