File: dune

package info (click to toggle)
js-of-ocaml 6.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 37,932 kB
  • sloc: ml: 135,957; javascript: 58,364; ansic: 437; makefile: 422; sh: 12; perl: 4
file content (19 lines) | stat: -rw-r--r-- 464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;; Test that separate compilation behave correctly in presence of pack

(env
 (_
  (js_of_ocaml
   (compilation_mode separate))
  (wasm_of_ocaml
   (compilation_mode separate))))

(test
 (name test)
 (modes byte js wasm)
 (libraries dynlink)
 ;; It doesn't seem possible to create a pack-ed module with dune.
 ;; However, dynlink uses pack to embed a copy
 ;; of the compiler up until OCaml 5.2.
 ;; Let's use it for the test
 (link_flags
  (:standard -linkall)))