Skip to content

Conversation

@keith
Copy link
Contributor

@keith keith commented Sep 15, 2025

Because of OS cross compile limitations in mojo (see previous commits),
compile actions must be pinned to the target OS. Because the mojo
toolchain was set on the top level rule, all resolved toolchains were
pinned to the target OS, which meant linking could not be cross
compiled. This removes that restriction using exec_groups to free up
macOS CPU time when cross compiling.

@keith keith enabled auto-merge (squash) September 15, 2025 20:39
Because of OS cross compile limitations in mojo (see previous commits),
compile actions must be pinned to the target OS. Because the mojo
toolchain was set on the top level rule, all resolved toolchains were
pinned to the target OS, which meant linking could not be cross
compiled. This removes that restriction using exec_groups to free up
macOS CPU time when cross compiling.
@keith keith force-pushed the ks/allow-compiling-and-linking-to-be-done-on-separate-platforms branch from 83b4046 to 7efe0c9 Compare September 15, 2025 20:46
@keith keith merged commit dd5b6a2 into main Sep 15, 2025
6 checks passed
@keith keith deleted the ks/allow-compiling-and-linking-to-be-done-on-separate-platforms branch September 15, 2025 20:48
modularbot pushed a commit to modular/modular that referenced this pull request Sep 16, 2025
To pull in modular/rules_mojo#53

MODULAR_ORIG_COMMIT_REV_ID: e5b6e1be99f6f0ea4c6692f23135d0f87bb7bfd8
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.

2 participants