package ocaml_plugin
Module Compiler.Side_effectSource
In some cases, we are not interested by the module, but rather because it uses a side effect registering mechanism.
Source
val load_ocaml_src_files_without_running_them :
(string list -> (unit -> unit) Async.Deferred.Or_error.t) create_argumentsCommand that checks that the anon files given compile and match the interface X given. Also provides a -ocamldep mode allowing only the main file to be passed on the command line.
Load contains functions similar to the ones above, and can be used if you want to separate extraction of the compiler from building/loading files. It can be useful if you want to extract the compiler upfront (to improve latency a bit) or if you want to share the cost of extracting the compiler for the current executable over multiple compilations. Probably not needed by the casual user.