diff options
| -rw-r--r-- | zkvms_host_io/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zkvms_host_io/src/lib.rs b/zkvms_host_io/src/lib.rs index ff69474..bf7ebc4 100644 --- a/zkvms_host_io/src/lib.rs +++ b/zkvms_host_io/src/lib.rs @@ -201,6 +201,7 @@ pub fn emit_benchmark_results(run_info: RunWith, starts: Vec<Instant>, ends: Vec .write(true) .create(true) .append(run_info.append) + .truncate(!run_info.append) .open(&path) { Ok(file) => file, |
