Struct rustc_codegen_ssa::back::linker::GccLinker [−][src]
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 strImplementations
impl<'a> GccLinker<'a>[src]
impl<'a> GccLinker<'a>[src]fn linker_arg<S>(&mut self, arg: S) -> &mut Self where
S: AsRef<OsStr>, [src]
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.
fn takes_hints(&self) -> bool[src]
fn hint_static(&mut self)[src]
fn hint_dynamic(&mut self)[src]
fn push_linker_plugin_lto_args(&mut self, plugin_path: Option<&OsStr>)[src]
fn build_dylib(&mut self, out_filename: &Path)[src]
Trait Implementations
impl<'a> Linker for GccLinker<'a>[src]
impl<'a> Linker for GccLinker<'a>[src]fn cmd(&mut self) -> &mut Command[src]
fn set_output_kind(&mut self, output_kind: LinkOutputKind, out_filename: &Path)[src]
fn link_dylib(&mut self, lib: Symbol, verbatim: bool, as_needed: bool)[src]
fn link_staticlib(&mut self, lib: Symbol, verbatim: bool)[src]
fn link_rlib(&mut self, lib: &Path)[src]
fn include_path(&mut self, path: &Path)[src]
fn framework_path(&mut self, path: &Path)[src]
fn output_filename(&mut self, path: &Path)[src]
fn add_object(&mut self, path: &Path)[src]
fn full_relro(&mut self)[src]
fn partial_relro(&mut self)[src]
fn no_relro(&mut self)[src]
fn link_rust_dylib(&mut self, lib: Symbol, _path: &Path)[src]
fn link_framework(&mut self, framework: Symbol, as_needed: bool)[src]
fn link_whole_staticlib(
&mut self,
lib: Symbol,
verbatim: bool,
search_path: &[PathBuf]
)[src]
&mut self,
lib: Symbol,
verbatim: bool,
search_path: &[PathBuf]
)