bazelbuild / intellij

IntelliJ plugin for Bazel projects
https://ij.bazel.build/
Apache License 2.0
761 stars 303 forks source link

Fix for wrong compiler executable when using custom toolchains #6419

Closed LeFrosch closed 3 months ago

LeFrosch commented 5 months ago

Checklist

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See the Contributions section in the README for more details.

Discussion thread for this change

Issue number: #6418

Description of this change

Fixes #6418 by using cc_common.get_tool_for_action to find the right c and cpp compiler executable.