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

Add [@@no_inline_let] annotation #3169

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

amosr
Copy link
Contributor

@amosr amosr commented Dec 15, 2023

This adds a [@@no_inline_let] annotation so that the norm tactic doesn't always unfold local lets.

I had to update the rlimit in some places. Some of these were necessary to get the current master building on MacOS even without the no_inline_let changes, but others were required by the no_inline_let. Perhaps the annotation should be hidden in a separate module to avoid polluting the pervasives namespace?

@mtzguido
Copy link
Member

Hi Amos, sorry this dropped off the radar. If it's still useful I'd be fine with merging this as-is.

@amosr
Copy link
Contributor Author

amosr commented May 23, 2024

Hi Guido,

Yes, this is still useful to me - I haven't been able to find another good way to have precise control over inlining with norm

@amosr
Copy link
Contributor Author

amosr commented May 23, 2024

(Sorry - I actually accidentally pressed the 'merge from master' button. I'll get this building again in the next few days)

@mtzguido
Copy link
Member

It was just some flaky failure. I pushed a fix to this PR. It would be good to get a test for this somewhere in the repo though.

@amosr
Copy link
Contributor Author

amosr commented May 23, 2024

Oh, thanks. Good idea - I'll try to make one soon. Do you have a preference whether I put it as a separate PR or modify this one?

@mtzguido
Copy link
Member

Probably better to just append to this one... but no big deal either way!

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