Enabled debug lines for Veloren crates only to significantly reduce binary size

This commit is contained in:
Joshua Barretto 2021-06-17 15:19:25 +01:00
parent f132c3fcb4
commit 1af6f685d1

View File

@ -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]