diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000..229db84 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,8 @@ +[target."aarch64-unknown-linux-gnu"] +# Compressing debug information can yield hundreds of megabytes of savings. +# The Rust toolchain does not currently perform dead code elimination on +# debug info. +# +# See: https://github.com/rust-lang/rust/issues/56068 +# See: https://reviews.llvm.org/D74169#1990180 +rustflags = ["-C", "link-arg=-Wl,--compress-debug-sections=zlib-gabi"]