Website Summary Files Commits Branches @commit @diff @stats
path: root / guests / fibonacci_matrix / git@syndamia.com:work
diff options
context:
space:
mode:
Commitc427fed7a28aee28579806fdc7cb432fd8f6a0c0 (patch)
Author
 Kamen Mladenov <kamen@syndamia.com>
2025-04-29 16:34:19 +0300
Committer
 Kamen Mladenov <kamen@syndamia.com>
2025-05-02 15:32:54 +0300
Filese1a72380ad8299a6b29d2a07e05a22c2babbdace /guests/fibonacci_matrix/git@syndamia.com:work
zkVMs-benchmarks-c427fed7a28aee28579806fdc7cb432fd8f6a0c0.tar
zkVMs-benchmarks-c427fed7a28aee28579806fdc7cb432fd8f6a0c0.tar.gz
zkVMs-benchmarks-c427fed7a28aee28579806fdc7cb432fd8f6a0c0.zip
Parent1112cce22f81341dfd0553034ca927e823bb36bf (diff)
fix(zkvms_host_io): Truncate output file in emit_benchmark_results when appropriate
If we're not appending to a file with contents, then when we write our data, we're going to be overwriting the old data. If the old data is longer than the new one, we'll have some leftover text in the end, which will cause a problem with JSON parsing. We'll be truncating the file (i.e. emptying it out), but only when not appending to it.
0 files changed, 0 insertions, 0 deletions