Struct rustc_codegen_ssa::back::linker::EmLinker
source · pub struct EmLinker<'a> {
cmd: Command,
sess: &'a Session,
}
Fields§
§cmd: Command
§sess: &'a Session
Trait Implementations§
source§impl<'a> Linker for EmLinker<'a>
impl<'a> Linker for EmLinker<'a>
fn cmd(&mut self) -> &mut Command
fn set_output_kind( &mut self, _output_kind: LinkOutputKind, _out_filename: &Path )
fn include_path(&mut self, path: &Path)
fn link_staticlib(&mut self, lib: &str, _verbatim: bool)
fn output_filename(&mut self, path: &Path)
fn add_object(&mut self, path: &Path)
fn link_dylib(&mut self, lib: &str, verbatim: bool, _as_needed: bool)
fn link_whole_staticlib( &mut self, lib: &str, verbatim: bool, _search_path: &[PathBuf] )
fn link_whole_rlib(&mut self, lib: &Path)
fn link_rust_dylib(&mut self, lib: &str, _path: &Path)
fn link_rlib(&mut self, lib: &Path)
fn full_relro(&mut self)
fn partial_relro(&mut self)
fn no_relro(&mut self)
fn framework_path(&mut self, _path: &Path)
fn link_framework(&mut self, _framework: &str, _as_needed: bool)
fn gc_sections(&mut self, _keep_metadata: bool)
fn no_gc_sections(&mut self)
fn optimize(&mut self)
fn pgo_gen(&mut self)
fn control_flow_guard(&mut self)
fn debuginfo(&mut self, _strip: Strip, _: &[PathBuf])
fn no_crt_objects(&mut self)
fn no_default_libraries(&mut self)
fn export_symbols( &mut self, _tmpdir: &Path, _crate_type: CrateType, symbols: &[String] )
fn subsystem(&mut self, _subsystem: &str)
fn linker_plugin_lto(&mut self)
fn add_eh_frame_header(&mut self)
fn add_no_exec(&mut self)
fn add_as_needed(&mut self)
fn reset_per_library_state(&mut self)
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for EmLinker<'a>
impl<'a> !Send for EmLinker<'a>
impl<'a> !Sync for EmLinker<'a>
impl<'a> Unpin for EmLinker<'a>
impl<'a> !UnwindSafe for EmLinker<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 112 bytes