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

fix: Module.optimize on macOS #77

Merged
merged 1 commit into from Mar 9, 2021
Merged

Conversation

ospencer
Copy link
Member

@ospencer ospencer commented Mar 8, 2021

Module.optimize can fail for valid modules on macOS because of how exceptions are handled between C and OCaml. This PR adds flags for macOS that fixes this behavior.

@phated Turns out it was more than just the lsp that required OCaml <4.12. I think it's because 4.12 is less than two weeks old, so not much supports it yet.

@ospencer ospencer requested a review from a team March 8, 2021 22:54
@ospencer ospencer self-assigned this Mar 8, 2021
Copy link
Member

@phated phated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@ospencer ospencer merged commit 0b92043 into master Mar 9, 2021
@ospencer ospencer deleted the fix-running-optimizations branch March 9, 2021 03:40
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

Successfully merging this pull request may close these issues.

None yet

2 participants