[−][src]Struct rustc_codegen_ssa::back::linker::GccLinker
Fields
cmd: Commandsess: &'a Sessioninfo: &'a LinkerInfohinted_static: boolis_ld: booltarget_cpu: &'a strImplementations
impl<'a> GccLinker<'a>[src]
pub(in back::linker) fn linker_arg<S>(
&mut self,
arg: S
) -> &mut Self where
S: AsRef<OsStr>, [src]
&mut self,
arg: S
) -> &mut Self where
S: AsRef<OsStr>,
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]
&self
) -> bool
pub(in back::linker) fn hint_static(
&mut self
)[src]
&mut self
)
pub(in back::linker) fn hint_dynamic(
&mut self
)[src]
&mut self
)
pub(in back::linker) fn push_linker_plugin_lto_args(
&mut self,
plugin_path: Option<&OsStr>
)[src]
&mut self,
plugin_path: Option<&OsStr>
)
pub(in back::linker) fn build_dylib(
&mut self,
out_filename: &Path
)[src]
&mut self,
out_filename: &Path
)
Trait Implementations
impl<'a> Linker for GccLinker<'a>[src]
pub fn cmd(&mut self) -> &mut Command[src]
pub fn set_output_kind(
&mut self,
output_kind: LinkOutputKind,
out_filename: &Path
)[src]
&mut self,
output_kind: LinkOutputKind,
out_filename: &Path
)
pub fn link_dylib(&mut self, lib: Symbol)[src]
pub fn link_staticlib(&mut self, lib: Symbol)[src]
pub fn link_rlib(&mut self, lib: &Path)[src]
pub fn include_path(&mut self, path: &Path)[src]
pub fn framework_path(&mut self, path: &Path)[src]
pub fn output_filename(&mut self, path: &Path)[src]
pub fn add_object(&mut self, path: &Path)[src]
pub fn full_relro(&mut self)[src]
pub fn partial_relro(&mut self)[src]
pub fn no_relro(&mut self)[src]
pub fn link_rust_dylib(&mut self, lib: Symbol, _path: &Path)[src]
pub fn link_framework(&mut self, framework: Symbol)[src]
pub fn link_whole_staticlib(&mut self, lib: Symbol, search_path: &[PathBuf])[src]
pub fn link_whole_rlib(&mut self, lib: &Path)[src]
pub fn gc_sections(&mut self, keep_metadata: bool)[src]
pub fn optimize(&mut self)[src]
pub fn pgo_gen(&mut self)[src]
pub fn control_flow_guard(&mut self)[src]
pub fn debuginfo(&mut self, strip: Strip)[src]
pub fn no_crt_objects(&mut self)[src]
pub fn no_default_libraries(&mut self)[src]
pub fn export_symbols(&mut self, tmpdir: &Path, crate_type: CrateType)[src]
pub fn subsystem(&mut self, subsystem: &str)[src]
pub fn finalize(&mut self)[src]
pub fn group_start(&mut self)[src]
pub fn group_end(&mut self)[src]
pub fn linker_plugin_lto(&mut self)[src]
pub fn add_eh_frame_header(&mut self)[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,