mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Enabled debug lines for Veloren crates only to significantly reduce binary size
This commit is contained in:
parent
f132c3fcb4
commit
1af6f685d1
21
Cargo.toml
21
Cargo.toml
@ -86,8 +86,27 @@ opt-level = 3
|
|||||||
overflow-checks = false
|
overflow-checks = false
|
||||||
debug-assertions = false
|
debug-assertions = false
|
||||||
lto = true
|
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
|
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
|
# used for cargo bench
|
||||||
[profile.bench]
|
[profile.bench]
|
||||||
|
Loading…
Reference in New Issue
Block a user