Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Loading
  • Cheng Shao's avatar
    cd7f0356
    hadrian/testsuite: implement config.cross logic · cd7f0356
    Cheng Shao authored
    This commit implements the config.cross field in the testsuite driver.
    It comes from the "cross compiling" ghc info field for both
    in-tree/out-of-tree GHC, and is an accurate predicate of whether we're
    cross-compiling or not (compared to the precense of target emulator),
    and is useful to implement predicates to assert the precense of
    internal interpreter (only available on non-cross GHC) for tests that
    do require it (e.g. plugins).
    
    (cherry picked from commit 2956a3f7)
    (cherry picked from commit 5500e1b3)
    cd7f0356
    History
    hadrian/testsuite: implement config.cross logic
    Cheng Shao authored
    This commit implements the config.cross field in the testsuite driver.
    It comes from the "cross compiling" ghc info field for both
    in-tree/out-of-tree GHC, and is an accurate predicate of whether we're
    cross-compiling or not (compared to the precense of target emulator),
    and is useful to implement predicates to assert the precense of
    internal interpreter (only available on non-cross GHC) for tests that
    do require it (e.g. plugins).
    
    (cherry picked from commit 2956a3f7)
    (cherry picked from commit 5500e1b3)
Code owners