From 094ee1eee9f788c47efb6cc609c0a741aae773c2 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Thu, 21 Mar 2024 23:06:36 +0900 Subject: [PATCH] =?UTF-8?q?Add:=20=E6=84=8F=E5=9B=B3=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index d7d4ad0d9..e58877e29 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -128,5 +128,7 @@ strip = true # https://github.com/rust-lang/cargo/issues/4897#issuecomment-1767587337 [profile.web-release] inherits = "release" +# opt-levelをzにするとemscripten_memcpy_jsが出力されなくなり、エラーになるのでsにする opt-level = "s" +# デバッグ用 debug = true