A few further tweaks to Zig 0.14 support#731
Conversation
|
@qaptoR Here are a few small changes. I hope these work for you too. |
|
@NWilson Thank you for the update! I'll pull the changes and test on my end, but I suspect if it's building for you then we're good to go. Btw, the reason I started all this was to create bindings (might be using that term loosely) in zig for PCRE2. |
|
Those bindings look interesting. I hope your project goes well. Your attribution looks perfectly fine. You say you're using PCRE2, and you reproduce the license text. There's no magic formula or legally required wording for attribution. Permissive licenses like PCRE2's are designed to make this sort of reuse super-easy. Go for it! |
|
Thanks! I appreciate the feedback. So far my bindings are reproductions of the ones implemented by the Godot Engine (why I also have attribution for them). But as I learn more about regex, and especially PCRE, I think I will try to add support for more of the library. |
Followup to #722
.linkLibc()command, now that we havelink_libc = truein the Module declarationsstd.Build.Step.Compile.create(...)calls to the brand-newb.addLibrary(...)function. They added this exactly for our use-case, to allow dynamically selecting betweenaddStaticLibrary/addDynamicLibraryvariants.