fpco / inline-c

284 stars 51 forks source link

Add `-fcompact-unwind` for darwin exceptions #131

Closed roberth closed 11 months ago

roberth commented 2 years ago

Make exceptions work on darwin. Closes #127, noting that the fix requires a flag to be set on all executables produced by GHC 9.2.2+, but GHC 9.4 will enable it by default (probably, not merged yet, but this change was requested by upstream: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/7739)

See also https://gitlab.haskell.org/ghc/ghc/issues/11829

This also updates the CI config. I've skipped GHC 9.0 because it don't think the ffi situation has changed in that release. Such changes would also likely be in 9.2 so I don't think it's worth the time.

roberth commented 2 years ago

@bitonic It seems that this repo could migrate from travis-ci.org to travis-ci.com. The prior has been phased out, so we don't have CI atm.

junjihashimoto commented 11 months ago

This is merged with https://github.com/fpco/inline-c/pull/150 . Thx!