Skip to content

Fix: Haxe 5 compatibility (bump Haxe version from 4.3.6 to 4.3.7 + remove the old hxcpp compile cache when rebuilding Linux ARM ndlls)#2068

Closed
MRK2009 wants to merge 8 commits into
openfl:developfrom
MRK2009:develop
Closed

Conversation

@MRK2009

@MRK2009 MRK2009 commented May 30, 2026

Copy link
Copy Markdown
Contributor

For some reason, It looks like Haxe 5 broke lime because some of the methods got removed from MainLoop class (including progress from the Thread class).
So I had to fix it by using a wrapper of MainLoop class and use loopOnce to make it work.
I tested it on C++ targets and it looks like it works fine(except it giving me warnings still)
But I'm not sure how to fix the errors for Flash and AIR targets though.

@MRK2009 MRK2009 changed the title Fix: Haxe 5 compatibility Fix: Haxe 5 compatibility (bump Haxe version from 4.3.6 to 4.3.7 + remove the old hxcpp compile cache from the workflow) May 31, 2026
@MRK2009 MRK2009 changed the title Fix: Haxe 5 compatibility (bump Haxe version from 4.3.6 to 4.3.7 + remove the old hxcpp compile cache from the workflow) Fix: Haxe 5 compatibility (bump Haxe version from 4.3.6 to 4.3.7 + remove the old hxcpp compile cache when rebuilding Linux ARM ndlls) May 31, 2026
@MRK2009

MRK2009 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

Maybe I'll rework this pr someday, but rn I'll try make another where I remove the old hxcpp compile cache and bumping the haxe version 4.3.6 to 4.3.7.

@MRK2009 MRK2009 closed this Jun 1, 2026
@player-03

Copy link
Copy Markdown
Contributor

Thanks for pointing out that this also occurs in Promise.hx, I've added that fix to #2007. That's where we're tracking the event loop issue, so check it out and let us know if there's anything it's missing.

@MRK2009

MRK2009 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

Alright, I'll look into it.

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.

2 participants