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

fix: FFI signature mismatches #2433

Merged
merged 2 commits into from
Aug 18, 2023
Merged

fix: FFI signature mismatches #2433

merged 2 commits into from
Aug 18, 2023

Conversation

Kha
Copy link
Member

@Kha Kha commented Aug 18, 2023

@Kha
Copy link
Member Author

Kha commented Aug 18, 2023

@bollu Could you please review the LLVM changes?

src/library/compiler/llvm.cpp Outdated Show resolved Hide resolved
@abentkamp
Copy link
Contributor

I forgot to mention: lean_get_githash has the same issue.

@hargoniX
Copy link
Contributor

I wonder, is it possible for us to have some sort of linter that catches this type of stuff? So something that computes the C type (this should be the easy part as we already kind of do it) and checks if it matches with the actual extern type (this is the part that idk how to do)

Copy link
Contributor

@bollu bollu left a comment

Choose a reason for hiding this comment

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

The LLVM changes look good to me.

src/library/compiler/llvm.cpp Outdated Show resolved Hide resolved
@Kha Kha enabled auto-merge (rebase) August 18, 2023 17:24
@Kha Kha merged commit 63d2bdd into leanprover:master Aug 18, 2023
13 checks passed
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.

None yet

5 participants