Yes, the hare programming language compiler package uses as-for-target. That package is a work in progress:
https://issues.guix.gnu.org/55606
 
as-for-target is also mentioned in a comment in rasperrypi.scm, in the raspi-arm64-chainloader package.
 
Thanks,
Antero
On 08/04/2022 5:12 AM EDT Ludovic Courtès <ludo@gnu.org> wrote:
 
 
Hi Antero,
 
Antero Mejr <antero@mailbox.org> skribis:
 
* guix/utils.scm (as-for-target): New function.
Out of curiosity, did you encounter packages needing it? (That hasn’t
been the case so far but maybe we were just lucky.)
 
Thanks,
Ludo’.