Skip to content

Conversation

@ma-oli
Copy link
Contributor

@ma-oli ma-oli commented Nov 13, 2025

The -target option should be added to the same actions, regardless of whether we're declaring an Xcode toolchain or a standalone toolchain. This commit brings the Linux actions up-to-date with the Xcode ones.

While we're at it, we're also adding -target to the MODULEWRAP action to both Xcode and non-Xcode actions. It looks like it's ok to omit it if the target arch is the same as the host arch, but if they're different swiftc will return an error.

The -target option should be added to the same actions, regardless of
whether we're declaring an Xcode toolchain or a standalone toolchain.
This commit brings the Linux actions up-to-date with the Xcode ones.

While we're at it, we're also adding -target to the MODULEWRAP action
to both Xcode and non-Xcode actions. It looks like it's ok to omit it
if the target arch is the same as the host arch, but if they're
different swiftc will return an error.
@keith keith merged commit 9bc57fa into bazelbuild:master Nov 13, 2025
15 checks passed
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.

3 participants