Skip to content

v0.77.2

Latest

Choose a tag to compare

@migueldeicaza migueldeicaza released this 29 Jul 00:57

SwiftGodotBinary no longer builds swift-syntax

The macro implementation and the swift-syntax it uses now ship prebuilt, as one static-library XCFramework that a tiny macro-target shim starts through a single C entry point, so swift-syntax leaves the binary package graph entirely.

Consumers of SwiftGodotBinary previously had to check out and compile swift-syntax, unless SwiftPM found one of its own prebuilts for their exact toolchain build — and those are published per toolchain and often missing, so on Swift 6.3.2 every consumer paid the full source build. Macros such as @Godot, @Callable, and @Export behave exactly as before.

Fixes

  • Generator: narrow-integer bindings now stage ptrcall arguments and return values through 64 bits, which is what Godot's ptrcall ABI actually writes. Optimized builds could abort in __stack_chk_fail on calls such as Node.getChildCount(), because the engine wrote 8 bytes into a 4-byte return slot.