guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#36477] [PATCH v3 42/48] gexp: Pass target to compiled-modules in lo


From: Ludovic Courtès
Subject: [bug#36477] [PATCH v3 42/48] gexp: Pass target to compiled-modules in lower-gexp.
Date: Wed, 04 Sep 2019 14:31:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi,

Mathieu Othacehe <address@hidden> skribis:

> * guix/gexp.scm (lower-gexp): Pass target argument to compiled-modules.

This seems obvious at first sight, but actually, I’m not sure it’s
correct because Guile code always runs “natively”.  That is, when you
write:

  (computed-file "foo" (with-imported-modules … #~(begin …)))

the gexp here necessarily runs “natively” on the current system.  Thus,
the modules have to be compiled natively.

The cross-compilation target should only affect things that the regex
refers to with ‘ungexp’ or ‘ungexp-splicing’.

WDYT?

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]