rules_zig
rules_zig copied to clipboard
Bazel build rules for Zig
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/aherrmann/rules_zig). This repository currently has no open or...
[](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [bazel](https://togithub.com/bazelbuild/bazel) | patch | `8.0.0-pre.20240422.4` -> `8.0.0-pre.20240516.1` | --- ### Release Notes bazelbuild/bazel...
Changes to PR title or description trigger a CI rerun. Since #265 The [`edited` type](https://github.com/aherrmann/rules_zig/pull/265/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133ddR10) would need to be further constrained to only trigger rerun on base branch update. If...
https://github.com/aherrmann/rules_zig/pull/299 pinned the glibc version to a low default value. Add constraint settings and platforms to let users configure the glibc version explicitly.
Resolve the TODO note at https://github.com/aherrmann/rules_zig/pull/297/files#diff-8d9986fc5ebf3ab6aaa6c6d276929f090b9acbdf8b95924c36b5a733679d0401R183
See https://github.com/aherrmann/rules_zig/commit/fddc80dc8f5e184bb8ad6b5b8758ad3bef55d043 ``` (06:27:04) ERROR: /Users/runner/work/rules_zig/rules_zig/e2e/workspace/zig-docs/BUILD.bazel:39:9: Generating Zig documentation for zig-docs/main.zig in bazel-out/darwin_arm64-fastbuild/bin/zig-docs/test.docs failed: (Exit 1): zig failed: error executing command (from target //zig-docs:test) external/zig_0.12.0_aarch64-macos/zig test --test-no-exec '-femit-docs=bazel-out/darwin_arm64-fastbuild/bin/zig-docs/test.docs' -fno-emit-bin -fno-emit-implib...
### Compiler toolchain Define the Zig compiler toolchain - [x] #2 - [x] #72 - [x] #76 - [x] #23 - [ ] #70 - [ ] #71 ### Zig...
Related to https://github.com/aherrmann/rules_zig/issues/15. See https://github.com/ziglang/zig/issues/19753 for further context. Take [Bazel's `cc_shared_library` rule](https://bazel.build/reference/be/c-cpp#cc_shared_library) as reference. - [ ] Clearly distinguish between link time and build time dependencies, i.e. archives or shared...
Support inheriting them from the actual target. Support overriding them at the configure target.
As of #253 the Zig cache is stored in an absolute path that is not managed by Bazel and is persisted between build actions and Bazel builds. This requires dedicated...