-
Notifications
You must be signed in to change notification settings - Fork 2
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
OCaml 5.2 support #6
Comments
Thanks! I will try to dig into it later this week. |
After a quick glance, I think I may have identified the problem. This is mostly a note for myself: Patch ocaml/ocaml#12735 changes the continuation into a pair (first stack segment, last stack segment) but https://github.com/dhil/ocaml-multicont/blob/master/lib/multicont_stubs.c#L39 returns a stack pointer (as a continuation). The cloning operation needs to be changed accordingly. |
This patch adds OCaml 5.2 support. The main change is to account for the new continuation representation in OCaml 5.2, which represents a continuation as a pair. Legacy support is preserved via the use of the compile-time `MULTICONT52` variable. When toggled code for the new continuation representation is included, otherwise this code is excluded. Resolves #6.
Should be fixed by #7. Thanks again @kit-ty-kate. |
* OCaml 5.2 support This patch adds OCaml 5.2 support. The main change is to account for the new continuation representation in OCaml 5.2, which represents a continuation as a pair. Legacy support is preserved via the use of the compile-time `MULTICONT52` variable. When toggled code for the new continuation representation is included, otherwise this code is excluded. Resolves #6. * Use ocaml-5.2.0+trunk in CI until the proper release is available. * Follow the OCaml manual's FFI rules even if they may not be strictly required.
CHANGES: This release adds support for the anticipated release of OCaml 5.2. Changes: * Patch dhil/ocaml-multicont#7: OCaml 5.2 support (thanks to kit-ty-kate for the issue report dhil/ocaml-multicont#6; thanks to David Allsopp for reviewing the patch). The change accounts for the new continuation representation. * Added a basic testsuite runnable via `dune runtest`. * Fixed a memory leak in the rollback parsing example. * Added an entry about subtle interactions of unrestricted and linear effects in the "Cautionary tales" section of the README.
CHANGES: This release adds support for the anticipated release of OCaml 5.2. Changes: * Patch dhil/ocaml-multicont#7: OCaml 5.2 support (thanks to kit-ty-kate for the issue report dhil/ocaml-multicont#6; thanks to David Allsopp for reviewing the patch). The change accounts for the new continuation representation. * Added a basic testsuite runnable via `dune runtest`. * Fixed a memory leak in the rollback parsing example. * Added an entry about subtle interactions of unrestricted and linear effects in the "Cautionary tales" section of the README.
CHANGES: This release adds support for the anticipated release of OCaml 5.2. Changes: * Patch dhil/ocaml-multicont#7: OCaml 5.2 support (thanks to kit-ty-kate for the issue report dhil/ocaml-multicont#6; thanks to David Allsopp for reviewing the patch). The change accounts for the new continuation representation. * Added a basic testsuite runnable via `dune runtest`. * Fixed a memory leak in the rollback parsing example. * Added an entry about subtle interactions of unrestricted and linear effects in the "Cautionary tales" section of the README.
CHANGES: This release adds support for the anticipated release of OCaml 5.2. Changes: * Patch dhil/ocaml-multicont#7: OCaml 5.2 support (thanks to kit-ty-kate for the issue report dhil/ocaml-multicont#6; thanks to David Allsopp for reviewing the patch). The change accounts for the new continuation representation. * Added a basic testsuite runnable via `dune runtest`. * Fixed a memory leak in the rollback parsing example. * Added an entry about subtle interactions of unrestricted and linear effects in the "Cautionary tales" section of the README.
CHANGES: This release adds support for the anticipated release of OCaml 5.2. Changes: * Patch dhil/ocaml-multicont#7: OCaml 5.2 support (thanks to kit-ty-kate for the issue report dhil/ocaml-multicont#6; thanks to David Allsopp for reviewing the patch). The change accounts for the new continuation representation. * Added a basic testsuite runnable via `dune runtest`. * Fixed a memory leak in the rollback parsing example. * Added an entry about subtle interactions of unrestricted and linear effects in the "Cautionary tales" section of the README.
CHANGES: This release adds support for the anticipated release of OCaml 5.2. Changes: * Patch dhil/ocaml-multicont#7: OCaml 5.2 support (thanks to kit-ty-kate for the issue report dhil/ocaml-multicont#6; thanks to David Allsopp for reviewing the patch). The change accounts for the new continuation representation. * Added a basic testsuite runnable via `dune runtest`. * Fixed a memory leak in the rollback parsing example. * Added an entry about subtle interactions of unrestricted and linear effects in the "Cautionary tales" section of the README.
I'm opening this just to track the issue started in kayceesrk/delimcc_of_fxhandler#1
According to @dra27 ocaml/ocaml#12735 could be the culprit
The text was updated successfully, but these errors were encountered: