From 49665d9d82d30cfbc87f33b603321f73c3fc7aa3 Mon Sep 17 00:00:00 2001 From: Ethan Steinberg Date: Sat, 22 Jun 2024 13:28:16 -0700 Subject: [PATCH] Another attempt --- native/MODULE.bazel | 4 +++- native/WORKSPACE | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/native/MODULE.bazel b/native/MODULE.bazel index fb0ad45..2fc8259 100644 --- a/native/MODULE.bazel +++ b/native/MODULE.bazel @@ -5,4 +5,6 @@ # For more details, please check https://github.com/bazelbuild/bazel/issues/18958 ############################################################################### -bazel_dep(name = "rules_python", version = "0.33.2") \ No newline at end of file +bazel_dep(name = "rules_python", version = "0.33.2") + +register_toolchains("@bazel_tools//tools/python:autodetecting_toolchain") \ No newline at end of file diff --git a/native/WORKSPACE b/native/WORKSPACE index 0078794..90acb78 100644 --- a/native/WORKSPACE +++ b/native/WORKSPACE @@ -4,8 +4,6 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # Group the sources of the library so that CMake rule have access to it all_content = """filegroup(name = "all", srcs = glob(["**"]), visibility = ["//visibility:public"])""" -register_toolchains("@bazel_tools//tools/python:autodetecting_toolchain") - http_archive( name = "com_google_absl", urls = ["https://github.com/abseil/abseil-cpp/archive/2f9e432cce407ce0ae50676696666f33a77d42ac.zip"],