Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The -opaque flag #26

Open
ziman opened this issue Sep 20, 2020 · 0 comments
Open

The -opaque flag #26

ziman opened this issue Sep 20, 2020 · 0 comments

Comments

@ziman
Copy link

ziman commented Sep 20, 2020

If I change the implementation of module X but not its interface, it would be nice to not have to recompile all modules (transitively) depending on X. With ocamlopt, this can be achieved using -opaque, which will disable cross-module optimisations (with the obvious tradeoffs). It would be nice to have that option for Malfunction, too.

This would make the compile-test loop faster and more convenient for large projects, where you're usually fiddling with only a small number of modules. It would avoid unnecessarily triggering full rebuilds if you are editing the implementation of a module at the top of the dependency hierarchy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant