From: Joshua Simmons Date: Sat, 15 Apr 2023 10:29:46 +0000 (+0200) Subject: build: Enable debug info compression X-Git-Url: https://git.nega.tv//gitweb.cgi?a=commitdiff_plain;h=e915e8e8494a6a8bfb11387259bc67b8dec5fb29;p=josh%2Fnarcissus build: Enable debug info compression This is not really useful since our binary is so small, and just makes linking slower. But it seemed cool so I wanted to turn it on. --- diff --git a/.cargo/config.toml b/.cargo/config.toml index 5243f8a..efd52fe 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,8 @@ [target.x86_64-unknown-linux-gnu] linker = "clang" -rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold", "-C", "target-cpu=x86-64-v3", "-C", "force-frame-pointers=yes"] \ No newline at end of file +rustflags = [ + "-C", "link-arg=-fuse-ld=/usr/bin/mold", + "-C", "link-arg=-Wl,--compress-debug-sections=zstd", + "-C", "target-cpu=x86-64-v3", + "-C", "force-frame-pointers=yes" +] \ No newline at end of file