Expand description
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.
Modules§
- build
- build_
env - Target-aware environment manipulations.
- utils
- Some helpers around Path and PathBuf manipulations.
Macros§
- dinghy_
bindgen - Create a new
bindgen::Builder
set up and ready for cross-compilation. - dinghy_
bindgen_ pre_ 0_ 49 - Compatibility macro for bindgen versions below 0.49
- generate_
bindgen_ bindings - Generate a file containing the bindgen bindings in a standard path.
Traits§
- Command
Ext - Decorator for the std::process::Command adding a some chainable helpers.