Skip to content

Commit

Permalink
run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrtgs committed Aug 15, 2024
1 parent 2bfc400 commit 0efed00
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ async fn generate_dispatcher() -> io::Result<()> {
.ok_or_else(|| io::Error::other("failed to run dispatcher build command"))?;

let target_path = {
let path =
format!("./modules/linux-dispatcher/target/{target}/linux-dispatcher/linux-dispatcher");
let path = format!(
"./modules/linux-dispatcher/target/{target}/linux-dispatcher/linux-dispatcher"
);
// try to UPX
Command::new("upx").args(["--best", &*path]);
tokio::fs::try_exists(&path)
Expand Down

0 comments on commit 0efed00

Please sign in to comment.