Struct cargo::ops::BuildOutput [] [src]

pub struct BuildOutput {
    pub library_paths: Vec<PathBuf>,
    pub library_links: Vec<String>,
    pub cfgs: Vec<String>,
    pub env: Vec<(String, String)>,
    pub metadata: Vec<(String, String)>,
    pub rerun_if_changed: Vec<String>,
    pub rerun_if_env_changed: Vec<String>,
    pub warnings: Vec<String>,
}

Contains the parsed output of a custom build script.

Fields

Paths to pass to rustc with the -L flag

Names and link kinds of libraries, suitable for the -l flag

Various --cfg flags to pass to the compiler

Additional environment variables to run the compiler with.

Metadata to pass to the immediate dependencies

Paths to trigger a rerun of this build script.

Environment variables which, when changed, will cause a rebuild.

Warnings generated by this build,

Methods

impl BuildOutput
[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for BuildOutput
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for BuildOutput
[src]

[src]

Formats the value using the given formatter.

impl Hash for BuildOutput
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more