Skip to content

Commit

Permalink
Use new toolchain registration API (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhoad committed Jul 20, 2022
1 parent 5a86964 commit 12e1ab6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module(
name = "example",
version = "0.0.1",
toolchains_to_register = ["@my_local_config_sh//:local_sh_toolchain"],
)

sh_config_ext = use_extension("//:local_config_sh.bzl", "my_sh_config_extension")
use_repo(sh_config_ext, "my_local_config_sh")
register_toolchains("@my_local_config_sh//:local_sh_toolchain")

0 comments on commit 12e1ab6

Please sign in to comment.