Skip to content

Clarify platform selection internals in CLI utils#690

Open
viktorking7 wants to merge 1 commit intozkmopro:mainfrom
viktorking7:patch-1
Open

Clarify platform selection internals in CLI utils#690
viktorking7 wants to merge 1 commit intozkmopro:mainfrom
viktorking7:patch-1

Conversation

@viktorking7
Copy link

  • Rename the local archs map in PlatformSelector::select_archs to selected_archs_by_platform to clearly distinguish it from self.archs and the construct_archs parameter.
  • Simplify the Config::target_platforms update in PlatformSelector::select by removing a redundant get_or_insert_with call after explicit initialization, keeping the logic unchanged but easier to read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant