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

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

Fields

cmd: Commandsess: &'a Sessioninfo: &'a LinkerInfohinted_static: boolis_ld: booltarget_cpu: &'a str

Implementations

impl<'a> GccLinker<'a>[src]

pub(in back::linker) fn linker_arg<S>(
    &mut self,
    arg: S
) -> &mut Self where
    S: AsRef<OsStr>, 
[src]

Argument that must be passed directly to the linker

These arguments need to be prepended with -Wl, when a GCC-style linker is used.

pub(in back::linker) fn takes_hints(
    &self
) -> bool
[src]

pub(in back::linker) fn hint_static(
    &mut self
)
[src]

pub(in back::linker) fn hint_dynamic(
    &mut self
)
[src]

pub(in back::linker) fn push_linker_plugin_lto_args(
    &mut self,
    plugin_path: Option<&OsStr>
)
[src]

pub(in back::linker) fn build_dylib(
    &mut self,
    out_filename: &Path
)
[src]

Trait Implementations

impl<'a> Linker for GccLinker<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for GccLinker<'a>

impl<'a> !Send for GccLinker<'a>

impl<'a> !Sync for GccLinker<'a>

impl<'a> Unpin for GccLinker<'a>

impl<'a> !UnwindSafe for GccLinker<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.