diff --git a/Cargo.toml b/Cargo.toml index 04f713fe21dd..318d55c9eb7d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -203,8 +203,12 @@ rc_buffer = "warn" rc_mutex = "warn" rest_pat_in_fully_bound_structs = "warn" +[profile.release] +strip = true + [profile.profiling] inherits = "release" +strip = false debug = true [profile.fast-build]