Skip to content

Commit 66623d7

Browse files
committed
buildifier fixes
1 parent cfddfb1 commit 66623d7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

rust/private/rust.bzl

+4-4
Original file line numberDiff line numberDiff line change
@@ -647,14 +647,14 @@ _common_attrs = {
647647
default = "@bazel_tools//tools/cpp:current_cc_toolchain",
648648
),
649649
"_error_format": attr.label(default = "//:error_format"),
650-
"_process_wrapper": attr.label(
651-
default = Label("//util/process_wrapper"),
650+
"_persistent_worker": attr.label(
651+
default = Label("//util/worker"),
652652
executable = True,
653653
allow_single_file = True,
654654
cfg = "exec",
655655
),
656-
"_persistent_worker": attr.label(
657-
default = Label("//util/worker"),
656+
"_process_wrapper": attr.label(
657+
default = Label("//util/process_wrapper"),
658658
executable = True,
659659
allow_single_file = True,
660660
cfg = "exec",

rust/private/rustc.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
# buildifier: disable=module-docstring
16+
load("@bazel_skylib//rules:common_settings.bzl", "BuildSettingInfo")
1617
load(
1718
"@bazel_tools//tools/build_defs/cc:action_names.bzl",
1819
"CPP_LINK_EXECUTABLE_ACTION_NAME",
@@ -28,7 +29,6 @@ load(
2829
"relativize",
2930
"rule_attrs",
3031
)
31-
load("@bazel_skylib//rules:common_settings.bzl", "BuildSettingInfo")
3232

3333
BuildInfo = provider(
3434
doc = "A provider containing `rustc` build settings for a given Crate.",
@@ -574,8 +574,8 @@ def rustc_compile_action(
574574
]
575575
executable = ctx.executable._persistent_worker
576576
execution_requirements = {
577-
"supports-workers": "1",
578577
"requires-worker-protocol": "proto",
578+
"supports-workers": "1",
579579
}
580580

581581
ctx.actions.run(

0 commit comments

Comments
 (0)