Skip to content

Commit 70d6a2a

Browse files
committed
deps: update rules_foreign_cc to 0.15.1 for Python 3.13 compatibility
Signed-off-by: Matthieu MOREL <[email protected]>
1 parent 2b33b48 commit 70d6a2a

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

WORKSPACE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ load("@proxy_wasm_cpp_host//bazel:dependencies.bzl", "proxy_wasm_cpp_host_depend
88

99
proxy_wasm_cpp_host_dependencies()
1010

11+
load("@proxy_wasm_cpp_host//bazel:setup_features.bzl", "setup_bazel_features")
12+
13+
setup_bazel_features()
14+
1115
load("@proxy_wasm_cpp_host//bazel:dependencies_python.bzl", "proxy_wasm_cpp_host_dependencies_python")
1216

1317
proxy_wasm_cpp_host_dependencies_python()

bazel/repositories.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ def proxy_wasm_cpp_host_repositories():
7777
maybe(
7878
http_archive,
7979
name = "rules_foreign_cc",
80-
sha256 = "bcd0c5f46a49b85b384906daae41d277b3dc0ff27c7c752cc51e43048a58ec83",
81-
strip_prefix = "rules_foreign_cc-0.7.1",
82-
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.7.1.tar.gz",
80+
sha256 = "8e5605dc2d16a4229cb8fbe398514b10528553ed4f5f7737b663fdd92f48e1c2",
81+
strip_prefix = "rules_foreign_cc-0.13.0",
82+
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.13.0.tar.gz",
8383
)
8484

8585
maybe(

bazel/setup_features.bzl

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
"""Setup bazel_features internal repositories."""
16+
17+
load("@bazel_features//private:repos.bzl", "bazel_features_repos")
18+
19+
def setup_bazel_features():
20+
"""Initialize bazel_features internal repos (needed for WORKSPACE compat)."""
21+
bazel_features_repos()

0 commit comments

Comments
 (0)