chore: cross-platform jemalloc.h generation and Bazel 9 support (#3)

- Replace jemalloc.h genrule with cross-platform cc_binary (jemalloc_hdr_gen)
- Migrate all rules_cc imports from defs.bzl compat shim to granular paths
- Add sh_binary targets for shell script genrules
- Pin MODULE.bazel deps to minimum versions required by Bazel 8
- Add bazel_lib and rules_shell dependencies
- Rename jemalloc_core to lib/jemalloc for conventional output naming
This commit is contained in:
UebelAndre 2026-03-11 22:27:00 -07:00 committed by Connor McEntee
parent db4f5f7461
commit 11ab2d4f38
18 changed files with 222 additions and 3418 deletions

View file

@ -1,6 +1,6 @@
"Utilities for replicating autoconf behavior"
load("@aspect_bazel_lib//lib:expand_template.bzl", "expand_template")
load("@bazel_lib//lib:expand_template.bzl", "expand_template")
def define_macro_if(macro, condition):
"""Controls conditional macro definition based on a build condition.

View file

@ -1,6 +1,6 @@
"Transition build and platform settings"
load("@rules_cc//cc:defs.bzl", "CcInfo")
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
PLATFORM = select({
"@platforms//os:freebsd": "freebsd",