The way to specify that linking should be done via the C compiler is a bit clunky. At the moment, you specify //#LinkArgs:--cc=clang. The reason it's like this is historical and no longer applies. Probably which compiler to link with (if any) should be moved out to a separate config option - something like LinkWithCompiler.
The way to specify that linking should be done via the C compiler is a bit clunky. At the moment, you specify
//#LinkArgs:--cc=clang
. The reason it's like this is historical and no longer applies. Probably which compiler to link with (if any) should be moved out to a separate config option - something likeLinkWithCompiler
.