Struct rustc_codegen_ssa::back::linker::GccLinker[][src]

pub struct GccLinker<'a> {
    cmd: Command,
    sess: &'a Session,
    target_cpu: &'a str,
    hinted_static: bool,
    is_ld: bool,
}

Fields

cmd: Commandsess: &'a Sessiontarget_cpu: &'a strhinted_static: boolis_ld: bool

Implementations

Passes an argument directly to the linker.

When the linker is not ld-like such as when using a compiler as a linker, the argument is prepended by -Wl,.

Passes a series of arguments directly to the linker.

When the linker is ld-like, the arguments are simply appended to the command. When the linker is not ld-like such as when using a compiler as a linker, the arguments are joined by commas to form an argument that is then prepended with -Wl. In this situation, only a single argument is appended to the command to ensure that the order of the arguments is preserved by the compiler.

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Layout

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 136 bytes