well-typed / cborg

Binary serialisation in the CBOR format
https://hackage.haskell.org/package/cborg
191 stars 86 forks source link

Compatibility shims for AArch64 #287

Closed alexbiehl closed 2 years ago

alexbiehl commented 2 years ago

@bgamari @georgefst @vmchale Would be great if you could have a look. I tested this locally on my M1 Mac with both 8.10.7 and 9.2.2.

Fixes https://github.com/well-typed/cborg/issues/283, https://github.com/well-typed/cborg/issues/276.

georgefst commented 2 years ago

Awesome! With this patch I can successfully compile for my RPi, and the resulting program works. This has genuinely made my day - I've had a few projects on hold for months where this had become the last blocker.

alexbiehl commented 2 years ago

@georgefst I updated the patch a little it stopped compiling with -w ghc-8.10.7! It's fixed now and should be good to go!

Bodigrim commented 1 year ago

As a Hackage trustee I made a revision to prohibit the unbuildable configuration explicitly: https://hackage.haskell.org/package/cborg-0.2.6.0/revisions/