luau-lang / luau

A fast, small, safe, gradually typed embeddable scripting language derived from Lua
https://luau-lang.org
MIT License
3.85k stars 356 forks source link

Need universal builds of Luau #1157

Open alecazam opened 5 months ago

alecazam commented 5 months ago

So lua doesn't build universal apps, and it looks like luau doesn't either. The problem is that x64 apps running in Rosetta ignore the universal apps that they spawn and only run x64 sub-processes. We use Lua to spawn content processing via system calls, and I was hoping that Luau had universal apps and we could just switch to that.

file * luau: Mach-O 64-bit executable x86_64 luau-analyze: Mach-O 64-bit executable x86_64 luau-compile: Mach-O 64-bit executable x86_64

alecazam commented 5 months ago

I guess it's a repeat of this https://github.com/luau-lang/luau/issues/1132