Rerumu / Wasynth

WebAssembly to Lua translation library and tool
https://discord.gg/sgm5YcmgyD
GNU General Public License v3.0
130 stars 18 forks source link

Non-emitted function usage from rust #11

Closed Hexcede closed 2 years ago

Hexcede commented 2 years ago

(Referencing luau codegen files) This was previously discussed in the Roblox Developer Discord server but I wanted to make a note of it here.

In statement.rs line 277 and expression.rs line 95 there are usages of the i64_K_ZERO constant and the i64_from_u32 function which are not automatically emitted by these paths.

The most likely solution that was discussed is to just emit these in the header from the rust side of things IIRC.