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(deps): update dependency rules_rust to v0.52.0 #378

Merged
merged 7 commits into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion repositories/rust/Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "b775f30e6fbf62d0a7d15de9feaf871608d6ca3f5c1520a3464f5af0e21a0aef",
"checksum": "56b4467eddf4d24526b75eca004ff68d26b3c2b156e82846a78e508cf67c8ec2",
"crates": {
"autocfg 1.3.0": {
"name": "autocfg",
Expand Down
4 changes: 2 additions & 2 deletions repositories/rust_setup_stage_1.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ def rust_setup_stage_1():
maybe(
http_archive,
name = "rules_rust",
sha256 = "dd006b77221d59e4d141207c0e7adf11b1fb60d1440b8fca03bf925617932a60",
url = "https://github.com/bazelbuild/rules_rust/releases/download/0.49.3/rules_rust-v0.49.3.tar.gz",
sha256 = "7931e7b544107b62029bf2fc72e79f9d77523ad650d442d93c3fcce9ad5ec1eb",
url = "https://github.com/bazelbuild/rules_rust/releases/download/0.52.0/rules_rust-v0.52.0.tar.gz",
)

maybe(
Expand Down
2 changes: 1 addition & 1 deletion ros2/rust_interfaces.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _compile_rust_code(ctx, label, crate_name, srcs, deps):

crate_type = "rlib"
crate_name = compute_crate_name(ctx.workspace_name, label, toolchain, crate_name)
crate_root = crate_root_src(label, srcs, crate_type)
crate_root = crate_root_src(label, crate_name, srcs, crate_type)
srcs, crate_root = transform_sources(ctx, srcs, crate_root)

output_hash = determine_output_hash(crate_root, label)
Expand Down