Get rustfmt passing on core relibc code

- Add a rustfmt config
 - Get the current code passing the formatter
This commit is contained in:
Dan Robertson
2018-03-07 00:43:11 +00:00
parent 2096b85115
commit 846e495944
20 changed files with 192 additions and 190 deletions
+2 -2
View File
@@ -6,6 +6,6 @@ fn main() {
let crate_dir = env::var("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR not set");
fs::create_dir_all("../../target/include").expect("failed to create include directory");
cbindgen::generate(crate_dir)
.expect("failed to generate bindings")
.write_to_file("../../target/include/string.h");
.expect("failed to generate bindings")
.write_to_file("../../target/include/string.h");
}