ziggy-pydust icon indicating copy to clipboard operation
ziggy-pydust copied to clipboard

Allow third party Zig modules

Open ivansantiagojr opened this issue 5 months ago • 8 comments

This PR makes a suggestion of feature to allow Ziggy Pydust users to add third party modules.

To achieve this, I add a list of imports to PythonModuleOptions and then iterated this list calling lib.addImport for each module. The same was made for libtest.

I also added basic docs giving an example of how to use that, so feel free to consult it and analyze if this suggestion is a good way to address the issue ziglang/zig#474 .

ivansantiagojr avatar Jun 28 '25 21:06 ivansantiagojr