diff --git a/MODULE.bazel b/MODULE.bazel index 7584c0bd365f1..3b1b342b45967 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -138,3 +138,5 @@ use_repo( "provisioning_exts", "secure_manufacturer_test_hooks", ) + +register_toolchains("//rules/opentitan:localtools") diff --git a/WORKSPACE.bzlmod b/WORKSPACE.bzlmod index b3a3afa8e1dca..0d90a1c97edfe 100644 --- a/WORKSPACE.bzlmod +++ b/WORKSPACE.bzlmod @@ -17,7 +17,3 @@ load("@crt//:deps.bzl", "crt_deps") crt_deps() load("@crt//config:registration.bzl", "crt_register_toolchains") crt_register_toolchains(riscv32 = True) - -register_toolchains( - "//rules/opentitan:localtools", -)