Skip to content

Conversation

@matil019
Copy link
Owner

This PR contains multiple changes:

  • Fixed the benchmark to work with unix-2.8.*.
  • Added a C wrapper function around fuse_new, which is now a function macro instead of an ordinary function since an unknown version of the upstream.
  • Raised upper bound: base <4.22, allowing ghc-9.8, 9.10 and 9.12.

`fuse_new` is now a function macro instead of an ordinary function
(undocumented change???).
"foreign import ccall" can't call function macros.

A C wrapper function was added in cbits/cbits.c and `fuse_new` is now
called via it.

We can't use CApiFFI because of the reason described by the comment in
cbits/cbits.c.
Allows ghc-9.8, 9.10 and 9.12.

cabal test --test-show-details=direct

succeeded for each version.
Actually the lower bounds were already correct - almost.
Switched to haskell-actions/setup@v2.

The job for Stack was unfortunately removed because it was broken
(actions/cache@v1 errors, and I don't know how to rewrite it with newer
actions).
@matil019 matil019 merged commit 011a5b4 into master May 22, 2025
5 checks passed
@matil019 matil019 deleted the update branch May 22, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants