From 46d3ed3f99f5140f635284de5941bada05c75c32 Mon Sep 17 00:00:00 2001 From: Tpt Date: Wed, 24 Jan 2024 09:16:13 +0100 Subject: [PATCH] Removes all debuginfo from release build Smaller binaries, most of them where stripped out anyway --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3ec94c5e..507f5023 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -206,7 +206,9 @@ zero_sized_map_values = "warn" [profile.release] lto = true codegen-units = 1 +strip = "debuginfo" [profile.release.package.oxigraph-js] +codegen-units = 1 opt-level = "z" - +strip = "debuginfo"