GalaxyShard
GalaxyShard
I fixed up these merge conflicts in a fork and rebased onto master. If anyone wants to use it: https://github.com/GalaxyShard/zig/tree/feature/add-compilation-database-support Tested it on two of my projects, only issue was...
These changes open up a bit of a footgun in the configuration header API by removing what are effectively safety checks. Although CMake doesn't implement these checks and silently/implicitly drops...
> I see those reasons and agree that it would be useful to be more strict but not as a default, the way cmake config headers are parsed is established...
As a workaround, it is currently possible to use Zig-packaged libc's without hard-coding the paths by using a helper program to dynamically generate a libc.txt file from LazyPaths. Example code:...
> There's another problem with `setLibCFile`. There's no way to pass it down through dependency trees. If you're depending on [freetype](https://github.com/hexops/freetype/blob/master/build.zig), how are you supposed to tell it to use...
> Do we also need to do this for include paths, or is that done already? I believe this is already done for installed/exposed include paths and headers (installHeader &...
I never really described the actual issue this solves, so here goes: ```zig const exported_module = b.addModule("Webview", .{ .root_source_file = b.path("src/Webview.zig"), }); const lib = b.addLibrary(.{ .name = "webview", .root_module...
> I have a similar commit in #17956: [650a335](https://github.com/ziglang/zig/commit/650a335befc37dd54dda7fc90c0ac5e03169768c) > > The main difference is that I don't put the `-x` flag inside the `--cflags ... --` section since it...
Is there anything that needs to be done before merging? Thanks.
I have been working on this in a fork ([repo](https://codeberg.org/GalaxyShard/zigup)). It's working pretty well so far for stable and master releases of Zls. All it does is automatically clone Zls...