Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games/veloren-weekly: reduce memory usage during build
Suggested by: diizzy (cherry picked from commit ead75c8)
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Don't generate debuginfo as the binaries will be stripped | ||
|
||
--- Cargo.toml.orig 2023-04-25 17:26:27 UTC | ||
+++ Cargo.toml | ||
@@ -79,25 +79,6 @@ panic = "abort" # don't need unwinding so we can skip | ||
lto = true | ||
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] |