Skip to content

Fix exec platform for binary targets - #124

Merged
keith merged 1 commit into
mainfrom
ks/fix-exec-platform-for-binary-targets
Nov 3, 2025
Merged

keith merged 1 commit into
mainfrom
ks/fix-exec-platform-for-binary-targets

Conversation

@keith

@keith keith commented Nov 3, 2025

Copy link
Copy Markdown
Owner

Similar to b60b54e but for the binary
rules

Similar to b60b54e but for the binary
rules
@keith

keith commented Nov 3, 2025

Copy link
Copy Markdown
Owner Author

i feel like there might be cases where this is too aggressive but we can try it and see how it goes. if so it would likely only affect people using cross platform remote exec, which is likely small

@keith
keith enabled auto-merge (squash) November 3, 2025 19:48
@keith
keith merged commit 37e02cc into main Nov 3, 2025
3 checks passed
@keith
keith deleted the ks/fix-exec-platform-for-binary-targets branch November 3, 2025 20:02
keith added a commit that referenced this pull request Apr 10, 2026
With bazel 9.x+ we can force the rules being run to be for the target
platform using the default_test_toolchain_type. This shouldn't affect
behavior for older versions. Also adds a test on CI for this case.

Related #113 #124

This is trying to work around bazelbuild/bazel#19645
keith added a commit that referenced this pull request May 28, 2026
With bazel 9.x+ we can force the rules being run to be for the target
platform using the default_test_toolchain_type. This shouldn't affect
behavior for older versions. Also adds a test on CI for this case.

Related #113
#124

This is trying to work around
bazelbuild/bazel#19645
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