pub struct Folly {
    pub lib_dirs: Vec<PathBuf>,
    pub include_paths: Vec<PathBuf>,
    pub other_cflags: Vec<String>,
    /* private fields */
}
Expand description

Information about the Folly library.

You can the information in this structure to populate a cc::Build in order to compile code that uses Folly:

let folly = find_folly::probe_folly().unwrap();
let mut build = cc::Build::new();
... populate `build` ...
build.includes(&folly.include_paths);
for other_cflag in &folly.other_cflags {
    build.flag(other_cflag);
}

Fields

lib_dirs: Vec<PathBuf>include_paths: Vec<PathBuf>other_cflags: Vec<String>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.