Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
nmattia committed Jan 24, 2025
1 parent 9915126 commit dc96810
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
21 changes: 8 additions & 13 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,24 @@ register_toolchains(
"@rules_foreign_cc//toolchains:preinstalled_make_toolchain",
)




bazel_dep(name = "hermetic_cc_toolchain", version = "3.1.1")


toolchains = use_extension("@hermetic_cc_toolchain//toolchain:ext.bzl", "toolchains")
use_repo(toolchains, "zig_sdk")

register_toolchains(
"@zig_sdk//toolchain:linux_amd64_gnu.2.28",
"@zig_sdk//toolchain:wasm32-unknown-unknown",
# # if no `--platform` is specified, these toolchains will be used for
# # (linux,darwin,windows)x(amd64,arm64)
# "@zig_sdk-linux-amd64//toolchain:linux_x86_64_gnu.2.28",
# # wasm/wasi toolchains
# #"@zig_sdk-linux-amd64//toolchain:wasip1_wasm",
#
# # These toolchains are only registered locally.
# dev_dependency = True # TODO: what is this
# # if no `--platform` is specified, these toolchains will be used for
# # (linux,darwin,windows)x(amd64,arm64)
# "@zig_sdk-linux-amd64//toolchain:linux_x86_64_gnu.2.28",
# # wasm/wasi toolchains
# #"@zig_sdk-linux-amd64//toolchain:wasip1_wasm",
#
# # These toolchains are only registered locally.
# dev_dependency = True # TODO: what is this
)


archive_override(
module_name = "hermetic_cc_toolchain",
integrity = "sha384-wZ/rdjnw2vl00OndRQERXS/HcFKLmgqZG+hnbphTtWtxeNeIcWZk0dzKZByWKJsL",
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ sol_register_toolchains(

http_archive(
name = "rules_rust",
integrity = "sha256-8TBqrAsli3kN8BrZq8arsN8LZUFsdLTvJ/Sqsph4CmQ=",
patch_args = ["-p1"],
patches = ["//bazel:rules_rust.patch"],
integrity = "sha256-8TBqrAsli3kN8BrZq8arsN8LZUFsdLTvJ/Sqsph4CmQ=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.56.0/rules_rust-0.56.0.tar.gz"],
)

Expand Down

0 comments on commit dc96810

Please sign in to comment.