diff --git a/MODULE.bazel b/MODULE.bazel index 387314e886726..89508a3ec7cb1 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -19,18 +19,16 @@ bazel_dep(name = "rules_pkg", version = "0.9.1") bazel_dep(name = "rules_python", version = "0.31.0") bazel_dep(name = "rules_proto", version = "5.3.0-21.7") bazel_dep(name = "rules_ruby", version = "0.8.1") -# bazel_dep(name = "rules_rust", version = "0.42.1") linter = use_extension("@apple_rules_lint//lint:extensions.bzl", "linter") linter.configure( name = "java-spotbugs", config = "//java:spotbugs-config", ) - -# linter.configure( -# name = "rust-rustfmt", -# config = "//rust:enable-rustfmt", -# ) +linter.configure( + name = "rust-rustfmt", + config = "//rust:enable-rustfmt", +) linter.register(name = "rust-rustfmt") node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node") @@ -323,20 +321,6 @@ use_repo(ruby, "bundle", "ruby", "ruby_toolchains") register_toolchains("@ruby_toolchains//:all") -# rust = use_extension("@rules_rust//rust:extensions.bzl", "rust") -# rust.toolchain() -# use_repo(rust, "rust_toolchains") - -# register_toolchains("@rust_toolchains//:all") - -# crate = use_extension("@rules_rust//crate_universe:extension.bzl", "crate") -# crate.from_cargo( -# name = "crates", -# cargo_lockfile = "//rust:Cargo.lock", -# manifests = ["//rust:Cargo.toml"], -# ) -# use_repo(crate, "crates") - selenium_manager_artifacts = use_extension("//common:selenium_manager.bzl", "selenium_manager_artifacts") use_repo( selenium_manager_artifacts, diff --git a/WORKSPACE b/WORKSPACE index 54a3d4fe97ba5..faf12b2a8a4ea 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -37,8 +37,8 @@ rules_closure_toolchains() http_archive( name = "rules_rust", - integrity = "sha256-XT1YVJ6FHJTXBr1v3px2fV37/OCS3dQk3ul+XvfIIf8=", - urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.42.0/rules_rust-v0.42.0.tar.gz"], + integrity = "sha256-JLN47ZcAbx9wEr5Jiib4HduZATGLiDgK7oUi/fvotzU=", + urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.42.1/rules_rust-v0.42.1.tar.gz"], ) load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")