dune icon indicating copy to clipboard operation
dune copied to clipboard

Wasm_of_ocaml support

Open vouillon opened this issue 2 years ago • 5 comments

vouillon avatar Jul 26 '23 10:07 vouillon

In general the code looks really good to me. Awaiting for approval from Hugo. Also don't forget to:

  • Add some tests
  • Update the CHANGES entry
  • Add something to the manual

rgrinberg avatar Aug 02 '23 15:08 rgrinberg

The dune lang constraint will need to be updated to 3.11.0 (dune.3.10) as been released alrady)

hhugo avatar Aug 03 '23 07:08 hhugo

@hhugo do you want this to be ready for 3.11?

rgrinberg avatar Sep 07 '23 09:09 rgrinberg

I think this can wait.

I'm wondering whether this should work likemodes. It makes a lot of sense to be able to generate both JavaScript and Wasm code.

vouillon avatar Sep 07 '23 11:09 vouillon

I found out that adding (targets wasm) in the (js_of_ocaml ...) stanza of an executable doesn’t work, only modifying environments seems possible. Wouldn’t it be good to be able to specify the wasm target for executables too?

OlivierNicole avatar Feb 21 '24 15:02 OlivierNicole

Superseded by #10695

vouillon avatar Jul 04 '24 13:07 vouillon