Skip to content

2 packages from ocsigen/lwt at 6.0.0~alpha01 #28222

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

raphael-proust
Copy link
Contributor

This pull-request concerns:

  • lwt.6.0.0~alpha01: Promises and event-driven I/O
  • lwt_direct.6.0.0~alpha01: Direct-style control-flow and await for Lwt


🐫 Pull-request generated by opam-publish v2.5.1

@raphael-proust
Copy link
Contributor Author

It seems to break lwt_log, which has been deprecated for a while anyway so maybe that's ok, I'll add a constraint

The (long deprecated) Lwt_main.exit_hooks have been removed in lwt.6.
@raphael-proust
Copy link
Contributor Author

I might have also broken some js uses, need to check if i broke all of them or just some

e.g.,

- (cd _build/default/test/js && /home/opam/.opam/4.14/bin/js_of_ocaml --no-source-map -o main.bc.js /home/opam/.opam/4.14/lib/cstruct/cstruct.js main.bc-for-jsoo)
- Warning [missing-primitive]: There are some missing primitives.
- Dummy implementations (raising 'Failure' exception) will be used if they are not available at runtime.
- You can prevent the generation of dummy implementations with the commandline option '--disable genprim'
- Missing primitives:
-   caml_mutex_lock
-   caml_mutex_new
-   caml_mutex_unlock
-   caml_thread_id
-   caml_thread_initialize
-   caml_thread_self
- File "test/js/dune", lines 3-7, characters 0-90:
- 3 | (rule
- 4 |  (alias runtest)
- 5 |  (package tezt)
- 6 |  (deps main.bc.js)
- 7 |  (action (run node main.bc.js)))
- (cd _build/default/test/js && /usr/bin/node main.bc.js)
- Fatal error: exception Failure("caml_thread_initialize not implemented")
[ERROR] The compilation of tezt.4.0.0 failed at "dune runtest -p tezt -j 71".

@raphael-proust
Copy link
Contributor Author

A few packages broken by the removal of Lwt_main.*hooks (same that breaks lwt_log). These have been deprecated for a while with an alternative available for a while. So I don't think it's a blocker for an alpha release, but i'll need to ping all the affected packages.

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.

1 participant