diff --git a/bazel/benchmark_deps.bzl b/bazel/benchmark_deps.bzl index 0e279fbc..be01c7f5 100644 --- a/bazel/benchmark_deps.bzl +++ b/bazel/benchmark_deps.bzl @@ -1,5 +1,5 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") +load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") def benchmark_deps(): """Loads dependencies required to build Google Benchmark.""" @@ -38,14 +38,14 @@ def benchmark_deps(): ) if "com_google_googletest" not in native.existing_rules(): - git_repository( + new_git_repository( name = "com_google_googletest", remote = "https://github.com/google/googletest.git", tag = "release-1.11.0", ) if "nanobind" not in native.existing_rules(): - git_repository( + new_git_repository( name = "nanobind", remote = "https://github.com/wjakob/nanobind.git", commit = "1ffbfe836c9dac599496a170274ee0075094a607", # v0.2.0