Struct cargo::ops::BuildOutput
[−]
[src]
pub struct BuildOutput { pub library_paths: Vec<PathBuf>, pub library_links: Vec<String>, pub cfgs: Vec<String>, pub metadata: Vec<(String, String)>, pub rerun_if_changed: Vec<String>, }
Contains the parsed output of a custom build script.
Fields
library_paths | Paths to pass to rustc with the |
library_links | Names and link kinds of libraries, suitable for the |
cfgs | Various |
metadata | Metadata to pass to the immediate dependencies |
rerun_if_changed | Glob paths to trigger a rerun of this build script. |
Methods
impl BuildOutput
[src]
fn parse_file(path: &Path, pkg_name: &str) -> CargoResult<BuildOutput>
fn parse(input: &[u8], pkg_name: &str) -> CargoResult<BuildOutput>
fn parse_rustc_flags(value: &str, whence: &str) -> CargoResult<(Vec<PathBuf>, Vec<String>)>
Trait Implementations
Derived Implementations
impl Hash for BuildOutput
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Debug for BuildOutput
[src]
impl Clone for BuildOutput
[src]
fn clone(&self) -> BuildOutput
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more