diff --git a/java/Cargo.toml b/java/Cargo.toml index 7c5e6798f5..6428f67fa6 100644 --- a/java/Cargo.toml +++ b/java/Cargo.toml @@ -21,7 +21,7 @@ bytes = { version = "1.6.0" } [profile.release] lto = true -debug = true +strip = "symbols" [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ffi_test)'] }