Skip to content

Commit 6a4c74f

Browse files
committed
Fix progress messages
Signed-off-by: Brentley Jones <[email protected]>
1 parent 8cb0e3b commit 6a4c74f

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

swift/internal/compiling.bzl

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -875,9 +875,7 @@ def _execute_compile_plan(
875875
feature_configuration = feature_configuration,
876876
outputs = module_outputs,
877877
prerequisites = struct(**module_prereqs),
878-
progress_message = "Compiling Swift module {}".format(
879-
prerequisites["module_name"],
880-
),
878+
progress_message = "Compiling Swift module %{label}",
881879
swift_toolchain = swift_toolchain,
882880
toolchain_type = toolchain_type,
883881
)
@@ -910,8 +908,7 @@ def _execute_compile_plan(
910908
batch_suffix = ""
911909
if compile_plan.output_nature.emits_multiple_objects:
912910
batch_suffix = " ({} of {})".format(number, len(batches))
913-
progress_message = "Codegen for Swift module {}{}".format(
914-
prerequisites["module_name"],
911+
progress_message = "Codegen for Swift module %{{label}}{}".format(
915912
batch_suffix,
916913
)
917914

@@ -1072,9 +1069,7 @@ def _plan_legacy_swift_compilation(
10721069
feature_configuration = feature_configuration,
10731070
outputs = all_compile_outputs,
10741071
prerequisites = struct(**prerequisites),
1075-
progress_message = "Compiling Swift module {}".format(
1076-
prerequisites["module_name"],
1077-
),
1072+
progress_message = "Compiling Swift module %{label}",
10781073
swift_toolchain = swift_toolchain,
10791074
toolchain_type = toolchain_type,
10801075
)

0 commit comments

Comments
 (0)