Andreas Herrmann
Andreas Herrmann
Zig 0.14.0 seems to fail on MacOS at a higher rate than previous versions, see [here](https://github.com/aherrmann/rules_zig/actions/runs/14027973590/job/39269898279#step:3:98) and [here](https://github.com/aherrmann/rules_zig/actions/runs/14027973590/job/39269898555#step:3:100).
Upstream issue: https://github.com/ziglang/zig/issues/16028
As of Zig 0.11.0 debug outputs also contain the output base on Linux. Additionally, the output base is included in release fast and release size mode outputs. Only release small...
The corresponding upstream issuse https://github.com/ziglang/zig/issues/16028 was closed as "nofix" because > I am closing this issue as not applicable since we only guarantee build reproducibility for release builds **and** with...
This issue here is about the reproducibility concern of embedding non-deterministic absolute paths in the generated binaries. Closely related is issue #207 about enabling debuggers to find the relevant sources.
Linking against static libraries is now supported with https://github.com/aherrmann/rules_zig/issues/162. Shared library dependencies are a bit more complicated, see https://github.com/aherrmann/rules_zig/pull/165.
In the meantime users can work around the lack of this feature by creating an intermediate `cc_library` target that takes the `zig_library` or `zig_shared_library` target in its `srcs` attribute.
Closed by https://github.com/aherrmann/rules_zig/pull/447
The build succeeds for me if I use the Nix shell ``` $ nix-shell ../shell.nix --run 'bazel build //:clotestbin-cc' ``` Without Nix I observe ``` ERROR: /home/aj/tweag.io/clodl/tests/BUILD:109:15: output 'scanelf' was...
Indeed, clodl has not yet been upgraded to support bzlmod, yet. Do the files that Bazel generates work? A contribution to updgrade clodl to bzlmod would be very welcome.