fixed whitespace issues
This commit is contained in:
parent
79189561c6
commit
bf7a53994e
12
build.rs
12
build.rs
@ -65,15 +65,15 @@ fn main() -> Result<(), Error> {
|
||||
|
||||
/* Make sysexits bindings depend only on core and use signed integers for
|
||||
* compatibility with Rust’s exit() implementation */
|
||||
let bindings = Builder::default()
|
||||
let bindings = Builder::default()
|
||||
.use_core()
|
||||
.default_macro_constant_type(MacroTypeVariation::Signed)
|
||||
.header(header)
|
||||
.parse_callbacks(Box::new(CargoCallbacks::new()))
|
||||
.generate()
|
||||
.map_err(|e| Error::other(e.to_string()))?;
|
||||
.header(header)
|
||||
.parse_callbacks(Box::new(CargoCallbacks::new()))
|
||||
.generate()
|
||||
.map_err(|e| Error::other(e.to_string()))?;
|
||||
|
||||
bindings.write_to_file(PathBuf::from("src/").join("lib.rs"))?;
|
||||
bindings.write_to_file(PathBuf::from("src/").join("lib.rs"))?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user