Skip to content

Commit

Permalink
create empty vpd file to satisfy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
liamkinne committed Dec 7, 2024
1 parent 0113552 commit 59b8f1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ fn main() {
.unwrap()
.write_all(&vpd)
.unwrap();
} else {
// write empty file to satisfy clippy.
File::create(out.join("vpd.bin"))
.unwrap()
.set_len(0)
.unwrap();
}

// put `memory.x` in our output directory and ensure it's on the linker
Expand Down

0 comments on commit 59b8f1b

Please sign in to comment.