From b8b0ef11c5004e1518c3d0dc702387c58fc9cd21 Mon Sep 17 00:00:00 2001 From: VirxEC Date: Fri, 20 Oct 2023 20:37:13 -0400 Subject: [PATCH] Enable LTO Strip debug symbols --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 3d732f1..5b908ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,3 +16,7 @@ features = ["extension-module", "abi3-py37"] [lib] name = "boxcars_py" crate-type = ["cdylib"] + +[profile.release] +strip = true +lto = true