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 rustc-bin-link-arg and rustc-link-arg custom build options #7811

Closed
wants to merge 2 commits into from

Commits on Jan 24, 2020

  1. Add rustc-bin-link-arg and rustc-link-arg custom build options

    Both are similar to rustc-cdylib-link-arg. The rustc-bin-link-arg option
    adds -C link-arg=... on binary targets. The rustc-link-arg option adds -C
    link-arg=... on all supported targets (currently only binaries and cdylib
    libraries).
    npmccallum committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    ab0f482 View commit details
    Browse the repository at this point in the history
  2. Add -Z extra-link-arg

    This hides the new rustc-bin-link-arg and rustc-link-arg build script
    configuration items behind an unstable flag.
    npmccallum committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    ee2870c View commit details
    Browse the repository at this point in the history