Skip to content
  • Cheng Shao's avatar
    25e75c1f
    ghc-heap: fix HalfWord incompatible Binary instances for cross GHC · 25e75c1f
    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)
    25e75c1f
    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)
Loading