Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Cheng Shao's avatar
    db954955
    hadrian: fix bindist executable wrapper logic for cross targets · db954955
    Cheng Shao authored and Zubin's avatar Zubin committed
    This commit fixes an oversight of hadrian wrapper generation logic:
    when doing cross compilation, `wrapper` is called on executable names
    with cross prefix, therefore we must use `isSuffixOf` when matching to
    take the cross prefix into account. Also add missing cross prefix to
    ghci wrapper content and fix hsc2hs wrapper logic.
    
    (cherry picked from commit edc02197)
    db954955
    History
    hadrian: fix bindist executable wrapper logic for cross targets
    Cheng Shao authored and Zubin's avatar Zubin committed
    This commit fixes an oversight of hadrian wrapper generation logic:
    when doing cross compilation, `wrapper` is called on executable names
    with cross prefix, therefore we must use `isSuffixOf` when matching to
    take the cross prefix into account. Also add missing cross prefix to
    ghci wrapper content and fix hsc2hs wrapper logic.
    
    (cherry picked from commit edc02197)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.