Struct escargot::format::BuildScript [−][src]
#[non_exhaustive]pub struct BuildScript<'a> {
pub package_id: WorkspaceMember<'a>,
pub out_dir: Option<Cow<'a, Path>>,
pub linked_libs: Vec<Cow<'a, str>>,
pub linked_paths: Vec<Cow<'a, Path>>,
pub cfgs: Vec<Cow<'a, Path>>,
pub env: Vec<(Cow<'a, str>, Cow<'a, str>)>,
}Expand description
Output of a Build Script execution.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.package_id: WorkspaceMember<'a>The workspace member this build script execution belongs to
out_dir: Option<Cow<'a, Path>>The outdir used.
linked_libs: Vec<Cow<'a, str>>The libs to link
linked_paths: Vec<Cow<'a, Path>>The paths to search when resolving libs
cfgs: Vec<Cow<'a, Path>>The paths to search when resolving libs
env: Vec<(Cow<'a, str>, Cow<'a, str>)>The environment variables to add to the compilation
Trait Implementations
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<'a> RefUnwindSafe for BuildScript<'a>
impl<'a> Send for BuildScript<'a>
impl<'a> Sync for BuildScript<'a>
impl<'a> Unpin for BuildScript<'a>
impl<'a> UnwindSafe for BuildScript<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more