Skip to content

Commit

Permalink
enclave_build: fix clippy failure
Browse files Browse the repository at this point in the history
Add missing truncate behavior to the open options.

Signed-off-by: Erdem Meydanli <[email protected]>
  • Loading branch information
meerd committed Mar 29, 2024
1 parent c592f73 commit a6ad960
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions enclave_build/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ fn main() {
.read(true)
.write(true)
.create(true)
.truncate(true)
.open(output)
.expect("Failed to create output file");

Expand Down

0 comments on commit a6ad960

Please sign in to comment.