diff options
Diffstat (limited to 'utils/genapply/Main.hs')
-rw-r--r-- | utils/genapply/Main.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/genapply/Main.hs b/utils/genapply/Main.hs index 4d25054a1c..8c194f1ca0 100644 --- a/utils/genapply/Main.hs +++ b/utils/genapply/Main.hs @@ -12,10 +12,13 @@ -- for details module Main(main) where +-- Note [Genapply target as host for RTS macros] +-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- We improperly include *HOST* macros for our target... #include "../../includes/ghcconfig.h" --- .. so that this header defines the right stuff. +-- ...so that this header defines the right stuff. It is the RTS's host, but +-- our target, as we are generating code that uses that RTS. #include "../../includes/stg/MachRegsForHost.h" #include "../../includes/rts/Constants.h" |