From b4971cc76b7c9d2fe7101edbd986d499688d4d2f Mon Sep 17 00:00:00 2001 From: Someon1e <142684596+Someon1e@users.noreply.github.com> Date: Sun, 3 Mar 2024 21:02:54 +0000 Subject: [PATCH] Optimize 2 --- codegen/luau/src/bin/wasm2luau.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/codegen/luau/src/bin/wasm2luau.rs b/codegen/luau/src/bin/wasm2luau.rs index c3c2ce9..ebbb47a 100644 --- a/codegen/luau/src/bin/wasm2luau.rs +++ b/codegen/luau/src/bin/wasm2luau.rs @@ -20,6 +20,7 @@ fn do_runtime(lock: &mut dyn Write) -> Result<()> { let runtime = codegen_luau::RUNTIME; let numeric = codegen_luau::NUMERIC; + writeln!(lock, "--!optimize 2")?; writeln!(lock, "local Integer = (function()")?; writeln!(lock, "{numeric}")?; writeln!(lock, "end)()")?;