From e1f3e7aa9acdcfc5c3a259e660ce098ed3ead46e Mon Sep 17 00:00:00 2001 From: Zixuan Chen Date: Wed, 24 Jan 2024 23:15:00 +0800 Subject: [PATCH] docs: add config comment --- crates/loro-wasm/.cargo/config.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/loro-wasm/.cargo/config.toml b/crates/loro-wasm/.cargo/config.toml index 31af7dff..e841c735 100644 --- a/crates/loro-wasm/.cargo/config.toml +++ b/crates/loro-wasm/.cargo/config.toml @@ -1,5 +1,7 @@ [profile.release] lto = true opt-level = "s" +# Debug info only takes 4KB after gzipped, which is only 1% of the binary size. +# But it's valuable for debugging. debug = true codegen-units = 1