Skip to content

Use 64 bit archive for haxe 3.4.4+ on windows - #147

Merged
krdlab merged 3 commits into
krdlab:masterfrom
tobil4sk:fix/haxe-3-windows-64-bit
Nov 1, 2026
Merged

krdlab merged 3 commits into
krdlab:masterfrom
tobil4sk:fix/haxe-3-windows-64-bit

Conversation

@tobil4sk

Copy link
Copy Markdown
Contributor

As mentioned in #138 (comment), only neko has to be 32-bit for haxe 3 installs here, not haxe itself.

@krdlab krdlab left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks for the follow-up. Splitting the arch check per tool makes sense, and dropping the Haxe 3 override simplifies HaxeAsset.

CI and CodeQL are green, including Haxe 3.4.7 on windows-latest and windows-11-arm. Both jobs fetched haxe-3.4.7-win64.zip with neko-2.3.0-win.zip, then passed haxelib install and the test compilation.

One request before merge: please add the supported Haxe 3 range to the README. On Windows, win64 archives only exist from 3.4.4 on, so 3.4.3 and earlier will now fail with a 404. I've left a suggestion on the new note.

Comment thread README.md Resolved
@tobil4sk

tobil4sk commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

3.4.3 and earlier will now fail with a 404

Thanks for spotting that, I didn't consider the fact that this might break other versions. I think in that case I will make the change more fine-grained to only use 64-bit for supported versions, otherwise this would be a breaking change

We need to install 32-bit neko for haxelib to work with the haxe 3
package, but for haxe we can use the 64-bit binary for 3.4.4+.
Haxe 3.4.3 was the last version that was missing a 64-bit windows build,
so make sure that is still resolving to 32-bit.
@tobil4sk
tobil4sk force-pushed the fix/haxe-3-windows-64-bit branch from d2b86af to 6ff1cbc Compare November 1, 2026 10:16
@tobil4sk tobil4sk changed the title Use 64 bit archive for haxe 3 on windows Use 64 bit archive for haxe 3.4.4+ on windows Nov 1, 2026

@krdlab krdlab left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks for reworking this. The 3.4.4 cutoff avoids the breaking change, so I've withdrawn the README suggestion.

CI and CodeQL are green on the new head.

@krdlab
krdlab merged commit 9b81337 into krdlab:master Nov 1, 2026
16 checks passed
@tobil4sk
tobil4sk deleted the fix/haxe-3-windows-64-bit branch November 1, 2026 16:08
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