Skip to content

[pull] main from bazel-contrib:main #267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2025
Merged

[pull] main from bazel-contrib:main #267

merged 1 commit into from
May 12, 2025

Conversation

pull[bot]
Copy link

@pull pull bot commented May 12, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

… required (#2869)

An upcoming change in Bazel makes the test toolchain required, which
means a compatible
exec platform amongst toolchains must be found
(bazelbuild/bazel@2780393).

Some analysis tests of `py_test` force the target platform to a specific
platform, but before this change didn't register a compatible exec
platform. This can be fixed by registering the target platform as an
exec platform. Since Python targets currently depend on a C++ toolchain
through Bazel's `launcher` and `launcher_maker` and the default
toolchain can't cross-compile to Linux, the host platform still needs to
be kept at highest priority to ensure that cross-compilation isn't
needed on macOS.

Work towards #2850
@pull pull bot added the ⤵️ pull label May 12, 2025
@pull pull bot merged commit e54060b into garymm:main May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant