[−][src]Crate dinghy_build
Helpers for build.rs scripts.
This library is meant to be used in build.rs scripts context.
It contains a set of standalone functions that encodes some of the
shared wisdom and conventions across build.rs scripts, cargo, dinghy,
cc-rs, pkg-config-rs, bindgen, and others. It also helps providing
cross-compilation arguments to autotools ./configure
scripts.
As an optional feature, it offers with-bindgen
, which helps dealing with
some idiosyncrasies of bindgen
code generation.
Modules
build | |
build_env | Target-aware environment manipulations. |
utils | Some helpers around Path and PathBuf manipulations. |
Structs
Error | The Error type. |
Enums
ErrorKind | The kind of an error. |
Traits
CommandExt | Decorator for the std::process::Command adding a some chainable helpers. |
ResultExt | Additional methods for |
Type Definitions
Result | Convenient wrapper around |