Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Cheng Shao's avatar
    4e0b5bfa
    ghc-heap: fix HalfWord incompatible Binary instances for cross GHC · 4e0b5bfa
    Cheng Shao authored
    ghc-heap defines HalfWord as Word32/Word16 depending on host word
    size. For cross GHC with different host/target word sizes, the Binary
    instances are incompatible and breaks iserv serialization of any
    message type that involves HalfWord, breaking the ghci debugger. This
    patch fixes the issue and has been tested to fix ghci debugger
    functionality of the wasm backend. Fixes #25420 #25781.
    
    (cherry picked from commit b228fcb5)
    4e0b5bfa
    History
    ghc-heap: fix HalfWord incompatible Binary instances for cross GHC
    Cheng Shao authored
    ghc-heap defines HalfWord as Word32/Word16 depending on host word
    size. For cross GHC with different host/target word sizes, the Binary
    instances are incompatible and breaks iserv serialization of any
    message type that involves HalfWord, breaking the ghci debugger. This
    patch fixes the issue and has been tested to fix ghci debugger
    functionality of the wasm backend. Fixes #25420 #25781.
    
    (cherry picked from commit b228fcb5)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.