Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Mar 11, 2024
1 parent a491b12 commit ff47457
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions base_layer/tari_mining_helper_ffi/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,17 @@ fn main() {
let gen = StaticApplicationInfo::initialize().unwrap();
gen.write_consts_to_outdir("consts.rs").unwrap();

let output_file = PathBuf::from(&crate_dir).join("tari_mining_helper.h").display().to_string();
let output_file = PathBuf::from(&crate_dir)
.join("tari_mining_helper.h")
.display()
.to_string();

let config = Config {
language: Language::C,
header: Some("// Copyright 2024. The Tari Project\n// SPDX-License-Identifier: BSD-3-Clause".to_string()),
parse: ParseConfig {
parse_deps: true,
include: Some(vec![
"tari_comms".to_string(),
]),
include: Some(vec!["tari_comms".to_string()]),
..Default::default()
},
autogen_warning: Some("// This file was generated by cargo-bindgen. Please do not edit manually.".to_string()),
Expand Down

0 comments on commit ff47457

Please sign in to comment.