From 67bb8a5332fa170f7e13293d648fdd953ab23bee Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Wed, 10 Dec 2025 19:49:53 +0000 Subject: [PATCH] Fix 9.x compat --- .github/workflows/ci.yaml | 1 + mojo/private/link_hack.bzl | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2bbb0fc..212385d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,6 +17,7 @@ jobs: - macos-15 - ubuntu-latest bazel: + - 8.x - latest - last_rc - last_green diff --git a/mojo/private/link_hack.bzl b/mojo/private/link_hack.bzl index cd72beb..0c57ada 100644 --- a/mojo/private/link_hack.bzl +++ b/mojo/private/link_hack.bzl @@ -6,6 +6,8 @@ https://github.com/bazelbuild/bazel/pull/23838 def _link_hack_impl(rctx): rctx.file("BUILD.bazel", "") rctx.file("link_hack.bzl", """\ +load("@rules_cc//cc/common:cc_common.bzl", "cc_common") + def link_hack(**kwargs): return cc_common.link(**kwargs) """)