You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cancel inlining in some cases to avoid compiled size explosion #239
When using Mlogjs, I ran into an issue where inlining caused the compiled program to exceed 999 lines, making it impossible to fully import and leading to runtime errors. I hope something can be added to prevent inlining.
Desired Solution:
I hope one of the following mechanisms can be added to cancel or limit inlining:
Provide annotations like @noinline to mark certain functions as non-inlinable;
Activity
JeanJPNM commentedon Oct 24, 2026
You can now use the "inline never" directive to prevent functions from inlining.