-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hi,
Thanks for this. Useful, but, I'd like to be able to use from the command-line or similar if possible, then I can hopefully work faster and maybe also debug a few things.
Trying the native build produces a lot of errors - I can upload logs, but before I bombard anyone, it might be someone who knows more wants to check a fresh build first, in case they can reproduce it too and somehting external has changed since the last CI build. I have tried using the latest zig available from my package manager (0.13.0) as well as in a 22.04 container with the tarball zig 0.12.1 as in the CI build. Basically they all seem to be with the C/C++ interface - seems to be missing in potrace, and I'm seeing a lot of exception specifications (i.e. throw ()), which were removed in C++17, so some issue with including the standard library properly it seems.
Would it also be possible to separate the build/targets/something else so that I can make a native build without the WASI and web stuff just for local use? I've only taken a quick glance, and I see a binary should be built, but it looks like this is the WASM executable that will be sent down to a browser. If possible, it'd be nice to have a library or similar and a CLI wrapper around that that removes any of the WASI parts from the build.
Thanks