diff --git a/Cargo.toml b/Cargo.toml index 0342211826..23e860d861 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -86,8 +86,27 @@ opt-level = 3 overflow-checks = false debug-assertions = false lto = true -debug = 1 # line tables so we can have useful backtraces +debug = false panic = "abort" # don't need unwinding so we can skip including the landing pads for that +# line tables so we can have useful backtraces for in-house crates +[profile.release.package."veloren-network"] +debug = 1 +[profile.release.package."veloren-network-protocol"] +debug = 1 +[profile.release.package."veloren-common"] +debug = 1 +[profile.release.package."veloren-common-systems"] +debug = 1 +[profile.release.package."veloren-client"] +debug = 1 +[profile.release.package."veloren-server"] +debug = 1 +[profile.release.package."veloren-server-cli"] +debug = 1 +[profile.release.package."veloren-voxygen"] +debug = 1 +[profile.release.package."veloren-world"] +debug = 1 # used for cargo bench [profile.bench]