Enum guppy::graph::cargo::InitialsPlatform [−][src]
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
The default for InitialsPlatform
: the Standard
option.
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InitialsPlatform
impl Send for InitialsPlatform
impl Sync for InitialsPlatform
impl Unpin for InitialsPlatform
impl UnwindSafe for InitialsPlatform
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.