about summary refs log tree commit diff
path: root/users/picnoir/tvix-daemon
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-07T21·27+0300
committerclbot <clbot@tvl.fyi>2024-04-08T06·18+0000
commitacee48986699a6f0dd567b0f1176fcc32875ca45 (patch)
treeecbfe5b27d0fc9ea19f3b2bcd212ba24272d41fd /users/picnoir/tvix-daemon
parenteb910dfa3abbfa162fb6140b4cebf1ccfe04819c (diff)
refactor(tvix/nix-compat/wire): simplify write_bytes a bit r/7872
Use the same EMPTY_BYTES trick from BytesWriter to write out the
padding, rather than allocating a Vec.

Change-Id: Ifb4ba1b45b7388adbc135fc8e46fd3d3cedd30aa
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11375
Reviewed-by: picnoir picnoir <picnoir@alternativebit.fr>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/picnoir/tvix-daemon')
0 files changed, 0 insertions, 0 deletions