Skip to content

Commit 94a3e15

Browse files
authored
Remove ios_ prefix from ios_cpu setting
This was incorrectly set as ios_x86_64 etc, I think it worked in my initial test because this value is mostly ignored, it failed in an internal test we have because the value changed from `x86_64` to `ios_x86_64` from this logic.
1 parent f2e0645 commit 94a3e15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apple/internal/transition_support.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def _command_line_options(
242242
cpu = cpu,
243243
platform_type = platform_type,
244244
settings = settings,
245-
)
245+
)[len("ios_"):]
246246
else:
247247
output_dictionary["//command_line_option:ios_cpu"] = ""
248248

0 commit comments

Comments
 (0)