Skip to content

Commit

Permalink
rm obsolete rust config
Browse files Browse the repository at this point in the history
  • Loading branch information
mvukov committed Dec 3, 2024
1 parent bc95cff commit 46ad99e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
5 changes: 1 addition & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ rust_setup_stage_2()

load("//repositories:rust_setup_stage_3.bzl", "rust_setup_stage_3")

rust_setup_stage_3(
# Only needed for CI here, see https://github.com/bazelbuild/rules_rust/pull/2698.
# generator = "@com_github_mvukov_rules_ros2_cargo_bazel//:cargo-bazel",
)
rust_setup_stage_3()

load("//repositories:rust_setup_stage_4.bzl", "rust_setup_stage_4")

Expand Down
5 changes: 1 addition & 4 deletions examples/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ rust_setup_stage_2()

load("@com_github_mvukov_rules_ros2//repositories:rust_setup_stage_3.bzl", "rust_setup_stage_3")

rust_setup_stage_3(
# Only needed for CI here, see https://github.com/bazelbuild/rules_rust/pull/2698.
generator = "@com_github_mvukov_rules_ros2_cargo_bazel//:cargo-bazel",
)
rust_setup_stage_3()

load("@com_github_mvukov_rules_ros2//repositories:rust_setup_stage_4.bzl", "rust_setup_stage_4")

Expand Down
4 changes: 4 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
error_on_line_overflow = true
wrap_comments = true
comment_width = 100
group_imports = "StdExternalCrate"
1 change: 1 addition & 0 deletions rustfmt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@rules_rust//tools/upstream_wrapper:rustfmt

0 comments on commit 46ad99e

Please sign in to comment.