added ability to loadDynlib through command line flag#124
added ability to loadDynlib through command line flag#124FrederickPu wants to merge 4 commits intoleanprover-community:masterfrom
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