Enum guppy::graph::cargo::InitialsPlatform
source · pub enum InitialsPlatform {
Host,
Standard,
ProcMacrosOnTarget,
}
Expand description
For a given Cargo build simulation, what platform to assume the initials are being built on.
Variants§
Host
Assume that the initials are being built on the host platform.
This is most useful for “continuing” simulations, where it is already known that some packages are being built on the host and one wishes to find their dependencies.
Standard
Assume a standard build.
In this mode, all initials other than proc-macros are built on the target platform. Proc- macros, being compiler plugins, are built on the host.
This is the default for InitialsPlatform
.
ProcMacrosOnTarget
Perform a standard build, and also build proc-macros on the target.
Proc-macro crates may include tests, which are run on the target platform. This option is most useful for such situations.
Trait Implementations§
source§impl Clone for InitialsPlatform
impl Clone for InitialsPlatform
source§fn clone(&self) -> InitialsPlatform
fn clone(&self) -> InitialsPlatform
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InitialsPlatform
impl Debug for InitialsPlatform
source§impl Default for InitialsPlatform
impl Default for InitialsPlatform
The default for InitialsPlatform
: the Standard
option.
source§impl<'de> Deserialize<'de> for InitialsPlatform
impl<'de> Deserialize<'de> for InitialsPlatform
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Hash for InitialsPlatform
impl Hash for InitialsPlatform
source§impl PartialEq for InitialsPlatform
impl PartialEq for InitialsPlatform
source§impl Serialize for InitialsPlatform
impl Serialize for InitialsPlatform
impl Copy for InitialsPlatform
impl Eq for InitialsPlatform
impl StructuralPartialEq for InitialsPlatform
Auto Trait Implementations§
impl Freeze for InitialsPlatform
impl RefUnwindSafe for InitialsPlatform
impl Send for InitialsPlatform
impl Sync for InitialsPlatform
impl Unpin for InitialsPlatform
impl UnwindSafe for InitialsPlatform
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.