bazelbuild / rules_perl

Perl rules for Bazel
Apache License 2.0
25 stars 38 forks source link

fix issue where rules_perl could not used for cross compilation #31

Closed jheaff1 closed 2 years ago

jheaff1 commented 2 years ago

When using the perl toolchain and specifying a platform on the bazel command line (e.g. --platforms=:android), the command would fail as bazel required a perl toolchain that is "target compatible" with the ":android" platform. Unlike a C++ toolchain, the perl toolchain is compatible with any target platform therefore no target_compatible_with should be specified

jheaff1 commented 2 years ago

@PiotrSikora @skeletonkey Would it be possible for one of you guys to review this PR please?

skeletonkey commented 2 years ago

@jheaff1 I will be able to take a look at this this weekend (Monday at the latest). Sorry for the delay - end of year has been a little crazy.