Skip to content

Support -opaque #497

@rgrinberg

Description

@rgrinberg

Compiling cmx's with -opaque increases the effectiveness of incremental compilation at the expense of the quality of the generated code:

  -opaque  Does not generate cross-module optimization information
     (reduces necessary recompilation on module change)

dune should allow users to make this trade-off.

We're not entirely sure if passing the flag is enough, and if we also need to hide the module [1].

cc @talex5 who requested this feature

[1] #489 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions