Compiling a dynamic/static library

Hi! Is there a way to compile a mojo file into a static or dynamic library to be linked to a c++ project? I see this thread from a while ago https://github.com/modularml/mojo/discussions/303, but still couldn’t find any information on how to actually compile one.
GitHub
Can Mojo be used to create C/C++ static and dynamic libraries? · mo...
In the roadmap, it is mentioned that Mojo will be able to leverage C/C++ modules. I wonder if in the future, a Mojo program can be compiled into static and dynamic libraries that can be consumed by...
1 Reply
Ehsan M. Kermani (Modular)
It's not exposed to users yet. We are working on it. Stay tuned!
Want results from more Discord servers?
Add your server