diff --git a/tvix/nix-compat/src/wire/bytes.rs b/tvix/nix-compat/src/wire/bytes.rs index a050b1610..1a25daca8 100644 --- a/tvix/nix-compat/src/wire/bytes.rs +++ b/tvix/nix-compat/src/wire/bytes.rs @@ -95,7 +95,7 @@ pub async fn read_bytes_unchecked(r: &mut R) -> std::io /// Computes the number of bytes we should add to len (a length in /// bytes) to be alined on 64 bits (8 bytes). -fn padding_len(len: u64) -> u8 { +pub(crate) fn padding_len(len: u64) -> u8 { let modulo = len % 8; if modulo == 0 { 0