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

Add link-flags-ld emit option. #31875

Closed
wants to merge 3 commits into from
Closed

Commits on Feb 26, 2016

  1. Configuration menu
    Copy the full SHA
    8308b0f View commit details
    Browse the repository at this point in the history
  2. Use an early return.

    If there's nothing to do, returning early saves an indentation
    level and reduces the amount of state one needs to track reading
    the code.
    rillian committed Feb 26, 2016
    Configuration menu
    Copy the full SHA
    a6a9194 View commit details
    Browse the repository at this point in the history
  3. Add link-flags-ld emit switch.

    Generate an unix-style ldflags line when building with
    --crate-type staticlib --emit link-flags-ld.
    
    If a filename is given, write the link line there for
    later use by an external build system in linking the
    static library. If none is given, just modify the
    normal informative message to print the flags line
    instead of the library list.
    
    Issue rust-lang#31471.
    rillian committed Feb 26, 2016
    Configuration menu
    Copy the full SHA
    cdcc1a4 View commit details
    Browse the repository at this point in the history