Skip to content

Commit

Permalink
Passing useToolchainResolution to make it compatible with Bazel 5.x.x
Browse files Browse the repository at this point in the history
  • Loading branch information
comius committed Nov 9, 2022
1 parent bc58e5c commit ce103fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ public StarlarkRuleFunction rule(
hostFragments,
starlarkTestable,
toolchains,
useToolchainTransition,
providesArg,
execCompatibleWith,
analysisTest,
Expand All @@ -339,6 +340,7 @@ public static StarlarkRuleFunction createRule(
Sequence<?> hostFragments,
boolean starlarkTestable,
Sequence<?> toolchains,
boolean useToolchainTransition,
Sequence<?> providesArg,
Sequence<?> execCompatibleWith,
Object analysisTest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public void analysisTest(
/*hostFragments=*/ StarlarkList.empty(),
/*starlarkTestable=*/ false,
/*toolchains=*/ toolchains,
/*useToolchainTransition=*/ false,
/*providesArg=*/ StarlarkList.empty(),
/*execCompatibleWith=*/ StarlarkList.empty(),
/*analysisTest=*/ Boolean.TRUE,
Expand Down

0 comments on commit ce103fa

Please sign in to comment.