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

mk: Don't build jemalloc with -g3 #14237

Closed
wants to merge 1 commit into from

Commits on May 15, 2014

  1. mk: Don't build jemalloc with -g3

    By default, jemalloc is building itself with -g3 if the local compiler supports
    it. It looks like this is generating a good deal of debug info that windows
    isn't optimizing out (on the order of 18MB). Windows gcc/ld is also not
    optimizing this data away, causing hello world to be 18MB in size.
    
    There's no current real need for debugging jemalloc to a great extent, so this
    commit manually passes -g1 to override -g3 which jemalloc is using. This is
    confirmed to drop the size of executables on windows back to a more reasonable
    size (2.0MB, as they were before).
    
    Closes rust-lang#14144
    alexcrichton committed May 15, 2014
    5 Configuration menu
    Copy the full SHA
    161b50a View commit details
    Browse the repository at this point in the history