Add as_executable to CcToolchainInfo #10344
Labels
not stale
Issues or PRs that are inactive but not considered stale
P4
This is either out of scope or we don't have bandwidth to review a PR. (No assignee)
team-Rules-CPP
Issues for C++ rules
type: feature request
Description of the feature request:
Like we have an
ld_executable
and anar_executable
on the CcToolchainInfo API, add anas_executable
, which gives a string to the assembler executable.Feature requests: what underlying problem are you trying to solve with this feature?
When calling the graalvm native-image executable, that executable does, in turn, call the compiler. The path to the compiler can be specified with an option. However, gcc then tries to call
ld
(which is fine because it is already present in the toolchain), followed byas
, which is not exposed in the toolchain API.Relevant issue here.
What operating system are you running Bazel on?
The graal rules support mac OS and linux.
Have you found anything relevant by searching the web?
This issue asks for the same thing on the legacy api. However, it's not clear why it was closed when the new API was introduced, since the new API seemingly also does not have it.
#5494
The text was updated successfully, but these errors were encountered: