KanoComputing / kano-profile

Tool to communicate with Kano-World
GNU General Public License v2.0
6 stars 6 forks source link

Lazy import mercury to void dynamically linking against the lib when not needed #472

Closed radujipa closed 5 years ago

radujipa commented 5 years ago

Turns out that both dynamically and statically linking against Mercury comes with a host of problems. Dynamic linking in kano-webengine came from using the python bindings to call Mercury again. We'll avoid calling those functions in kano-webengine (or call them in a completely separate binary) and ensuring mercury isn't imported transitively with global imports from other modules.