Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linker: also pass debuginfo compression flags #116702

Merged
merged 1 commit into from
Oct 14, 2023

Commits on Oct 13, 2023

  1. linker: also pass debuginfo compression flags

    We support compressing debuginfo during codegen, but until this patch we
    didn't pass the flag to the linker. Doing so means we'll respect the
    requested compression even when building binaries or dylibs. This
    produces much smaller binaries: in my testing a debug build of ripgrep
    goes from 85M to 32M, and the target/ directory (after a clean build in
    both cases) goes from 508M to 329M just by enabling zlib compression of
    debuginfo.
    durin42 committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    3215725 View commit details
    Browse the repository at this point in the history