diff options
author | Florian Klink <flokli@flokli.de> | 2023-05-18T18·34+0300 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-05-18T19·29+0000 |
commit | 103d2eb90936e7897c20a9db96782aab5b9334e1 (patch) | |
tree | fe5d014461485b8da2f00eee51fefdd7ba03d27c /tvix/store/src/nar/non_caching_calculation_service.rs | |
parent | 0e7bbf0d01511b1b074799ce37e4e94119a3fb4f (diff) |
refactor(tvix/store): bump CalculateNARResponse.nar_size to u64 r/6165
Change-Id: I5f41981820363a5eb9982c3d19830916207c62cc Reviewed-on: https://cl.tvl.fyi/c/depot/+/8591 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/store/src/nar/non_caching_calculation_service.rs')
-rw-r--r-- | tvix/store/src/nar/non_caching_calculation_service.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/nar/non_caching_calculation_service.rs b/tvix/store/src/nar/non_caching_calculation_service.rs index 94dd51bc6a7f..ff6eb4d5d057 100644 --- a/tvix/store/src/nar/non_caching_calculation_service.rs +++ b/tvix/store/src/nar/non_caching_calculation_service.rs @@ -36,7 +36,7 @@ impl<BS: BlobService, DS: DirectoryService> NARCalculationService self.nar_renderer.write_nar(&mut cw, root_node)?; Ok(proto::CalculateNarResponse { - nar_size: cw.count() as u32, + nar_size: cw.count() as u64, nar_sha256: cw.into_inner().finalize().to_vec(), }) } |