pub fn rust_build_into<CFG: Into<PathBuf>, OUT: Into<PathBuf>>(
config_path: CFG,
output_relative_dir: OUT,
) -> Result<(), Box<dyn Error>>Expand description
Generate rust code using the codegen.toml config file and output directory.
config_path should be relative to the directory containing build.rs (or absolute).
output_relative_dir, the location of generated files, should either be an absolute path,
or a path relative to the folder containing the codegen.toml file.
To use rustc’s build folder, from inside build.rs, use &std::env::var("OUT_DIR").unwrap()