pub struct GccDylibSet {
dylibs: BTreeMap<GccTargetPair, GccOutput>,
host_pair: GccTargetPair,
}Expand description
Set of libgccjit dylibs that can be used by cg_gcc to compile code for a set of targets.
Fields§
§dylibs: BTreeMap<GccTargetPair, GccOutput>§host_pair: GccTargetPairImplementations§
Source§impl GccDylibSet
impl GccDylibSet
Sourcefn host_dylib(&self) -> &GccOutput
fn host_dylib(&self) -> &GccOutput
Returns the libgccjit.so dylib that corresponds to a host target on which cg_gcc will be
executed, and which will target the host. So e.g. if cg_gcc will be executed on
x86_64-unknown-linux-gnu, the host dylib will be for compilation pair
(x86_64-unknown-linux-gnu, x86_64-unknown-linux-gnu).
Sourcepub fn install_to(&self, builder: &Builder<'_>, compiler: Compiler)
pub fn install_to(&self, builder: &Builder<'_>, compiler: Compiler)
Install the libgccjit dylibs to the corresponding target directories of the given compiler. cg_gcc know how to search for the libgccjit dylibs in these directories, according to the (host, target) pair that is being compiled by rustc and cg_gcc.
Trait Implementations§
Source§impl Clone for GccDylibSet
impl Clone for GccDylibSet
Source§fn clone(&self) -> GccDylibSet
fn clone(&self) -> GccDylibSet
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for GccDylibSet
impl RefUnwindSafe for GccDylibSet
impl Send for GccDylibSet
impl Sync for GccDylibSet
impl Unpin for GccDylibSet
impl UnwindSafe for GccDylibSet
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)§impl<T> Pointable for T
impl<T> Pointable for T
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: 88 bytes