Skip to content

Commit

Permalink
Update cargo lock and fix rust code compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
mvukov committed Oct 5, 2024
1 parent 46ce6bd commit d8ec6a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
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

0 comments on commit d8ec6a7

Please sign in to comment.