Expand description
Much simplified and explicit CLI for the NVPTX linker. The linker operates with bitcode and uses LLVM backend to generate a PTX assembly.
Fields
cmd: Command
sess: &'a Session
Trait Implementations
sourceimpl<'a> Linker for PtxLinker<'a>
impl<'a> Linker for PtxLinker<'a>
fn cmd(&mut self) -> &mut Command
fn set_output_kind(&mut self, _output_kind: LinkOutputKind, _out_filename: &Path)
fn link_rlib(&mut self, path: &Path)
fn link_whole_rlib(&mut self, path: &Path)
fn include_path(&mut self, path: &Path)
fn debuginfo(&mut self, _strip: Strip, _: &[PathBuf])
fn add_object(&mut self, path: &Path)
fn optimize(&mut self)
fn output_filename(&mut self, path: &Path)
fn link_dylib(&mut self, _lib: &str, _verbatim: bool, _as_needed: bool)
fn link_rust_dylib(&mut self, _lib: &str, _path: &Path)
fn link_staticlib(&mut self, _lib: &str, _verbatim: bool)
fn link_whole_staticlib(
&mut self,
_lib: &str,
_verbatim: bool,
_search_path: &[PathBuf]
)
fn framework_path(&mut self, _path: &Path)
fn link_framework(&mut self, _framework: &str, _as_needed: bool)
fn full_relro(&mut self)
fn partial_relro(&mut self)
fn no_relro(&mut self)
fn gc_sections(&mut self, _keep_metadata: bool)
fn no_gc_sections(&mut self)
fn pgo_gen(&mut self)
fn no_crt_objects(&mut self)
fn no_default_libraries(&mut self)
fn control_flow_guard(&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 PtxLinker<'a>
impl<'a> !Send for PtxLinker<'a>
impl<'a> !Sync for PtxLinker<'a>
impl<'a> Unpin for PtxLinker<'a>
impl<'a> !UnwindSafe for PtxLinker<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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