[−][src]Function rustc_codegen_ssa::back::link::linker_with_args

pub(in back::link) fn linker_with_args<'a, B: ArchiveBuilder<'a>>(
    path: &Path,
    flavor: LinkerFlavor,
    sess: &'a Session,
    crate_type: CrateType,
    tmpdir: &Path,
    out_filename: &Path,
    codegen_results: &CodegenResults,
    target_cpu: &str
) -> Command

Produce the linker command line containing linker path and arguments. NO-OPT-OUT marks the arguments that cannot be removed from the command line by the user without creating a custom target specification. OBJECT-FILES specify whether the arguments can add object files. CUSTOMIZATION-POINT means that arbitrary arguments defined by the user or by the target spec can be inserted here. AUDIT-ORDER - need to figure out whether the option is order-dependent or not.