Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FUSE 3.12 support #15

Merged
merged 6 commits into from
Oct 7, 2022
Merged

FUSE 3.12 support #15

merged 6 commits into from
Oct 7, 2022

Conversation

overheadhunter
Copy link
Member

This adds support for FUSE 3.12, which introduced some incompatibilities. In order to support both 3.12 as well as older libfuse .so versions, you would usually rely on versioned ABI via dlvsym. However, this is not usually supported in Panama, so we need some if/else switching depending on fuse_version().

Related discussions:

The custom SymbolLookup might be the better approach for libfuse, however it requires adjusted jextracted code, which is terrible for future re-jextract-ions. We should reevaluate this approach, if jextract ever allows using a custom SymbolLookup, though. Or if we ever decide to drop jextract and maintain method handles and structs by hand.

@overheadhunter overheadhunter added this to the 0.2.1 milestone Oct 4, 2022
Copy link
Member

@SailReal SailReal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@overheadhunter overheadhunter merged commit 0075f85 into develop Oct 7, 2022
@overheadhunter overheadhunter deleted the feature/libfuse312 branch October 7, 2022 13:28
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