Skip to content

Commit 71e39d7

Browse files
committed
fmt
1 parent 53f499b commit 71e39d7

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

dpdk-sys/build.rs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,15 +462,20 @@ impl State {
462462
let builder = cc::Build::new();
463463
let compiler = builder.get_compiler();
464464
let cc_name = compiler.path().to_str().unwrap().to_string();
465-
465+
466466
let dpdk_include_path = self.include_path.as_ref().unwrap();
467-
let dpdk_config_path = self.dpdk_config.as_ref().unwrap().to_str().unwrap().to_string();
467+
let dpdk_config_path = self
468+
.dpdk_config
469+
.as_ref()
470+
.unwrap()
471+
.to_str()
472+
.unwrap()
473+
.to_string();
468474
let dpdk_include = dpdk_include_path.to_str().unwrap().to_string();
469475
let output_include = self.out_path.to_str().unwrap().to_string();
470476
let out_path = self.out_path.clone();
471477

472-
let target_bin_path =
473-
out_path.join(format!("inline_test_{}", name));
478+
let target_bin_path = out_path.join(format!("inline_test_{}", name));
474479

475480
if target_bin_path.exists() {
476481
fs::remove_file(target_bin_path.clone()).unwrap();

0 commit comments

Comments
 (0)