Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update rust and rules_rust version #69

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -28,3 +28,6 @@ build:linux --action_env BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1

# Do not leak local envs into actions, esp. PATH variable.
build --incompatible_strict_action_env

# Allow isolation of the "crate" extension in the root repo
common --experimental_isolated_extension_usages
8 changes: 5 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
bazel_dep(name = "rules_rust", version = "0.54.1")
bazel_dep(name = "rules_rust", version = "0.55.6")
bazel_dep(name = "rules_rust_prost", version = "0.55.6")

rust = use_extension("@rules_rust//rust:extensions.bzl", "rust")
rust.toolchain(
edition = "2021",
versions = ["1.80.0"],
versions = ["1.83.0"],
)
use_repo(rust, "rust_toolchains")
register_toolchains("@rust_toolchains//:all")
@@ -15,6 +16,7 @@ use_repo(rust_host_tools, "rust_host_tools")
crate = use_extension(
"@rules_rust//crate_universe:extension.bzl",
"crate",
isolate=True
)
crate.from_cargo(
name = "crates",
@@ -39,7 +41,7 @@ bazel_dep(
dev_dependency = True,
)

bazel_dep(name = "protobuf", version = "27.1")
bazel_dep(name = "protobuf", version = "28.3")

register_toolchains("//prost:prost_toolchain")

10,776 changes: 1,781 additions & 8,995 deletions MODULE.bazel.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions prost/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@rules_rust//proto/prost:defs.bzl", "rust_prost_toolchain")
load("@rules_rust//rust:defs.bzl", "rust_library_group")
load("@rules_rust_prost//:defs.bzl", "rust_prost_toolchain")

rust_library_group(
name = "prost_runtime",
@@ -28,5 +28,5 @@ rust_prost_toolchain(
toolchain(
name = "prost_toolchain",
toolchain = "prost_toolchain_impl",
toolchain_type = "@rules_rust//proto/prost:toolchain_type",
toolchain_type = "@rules_rust_prost//:toolchain_type",
)
2 changes: 1 addition & 1 deletion src/builtin/BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@rules_rust//proto/prost:defs.bzl", "rust_prost_library")
load("@rules_rust_prost//:defs.bzl", "rust_prost_library")

rust_prost_library(
name = "build_proto_rust",