Pure OCaml 4 programs still work with OCaml 5, but the FFI has a breaking change: naked pointers are no longer supported. The LLVM bindings use naked pointers, so I have been authoring a patch to replace the use of naked pointers so that the bindings work on OCaml 5. My patch currently passes the tests, so I feel optimistic, but it’s a lot of code to review.
alan
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| My experience contributing to the LLVM bindings | 5 | 2130 | March 29, 2023 | |
| [ANN] LLVM 15 is out! | 9 | 2752 | September 17, 2023 | |
| Finding a maintainable, sustainable build system for the LLVM bindings + Dune currently doesn't meet the package's specific needs | 25 | 1803 | October 2, 2023 | |
| LLVM: symbol not found for bytecode compilation | 22 | 1965 | November 5, 2021 | |
| Clangml.4.0.0beta1: OCaml bindings for Clang API | 7 | 1379 | March 11, 2019 |