package js_of_ocaml-compiler

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Js_of_ocaml_compiler.ConfigSource

Sourcemodule Flag : sig ... end
Sourcemodule Param : sig ... end

This module contains parameters that may be modified through command-line flags.

Parameters that are constant across a program run

These parameters should be set at most once at the beginning of the program.

Sourceval target : unit -> [ `JavaScript | `Wasm ]
Sourceval set_target : [ `JavaScript | `Wasm ] -> unit
Sourcetype effects_backend = [
  1. | `Disabled
  2. | `Cps
  3. | `Double_translation
  4. | `Jspi
]
Sourceval effects : unit -> effects_backend
Sourceval set_effects_backend : effects_backend -> unit