Skip to content
  • Cheng Shao's avatar
    eb60fa66
    hadrian/testsuite: implement config.cross logic · eb60fa66
    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)
    eb60fa66
    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)
Loading