about summary refs log tree commit diff
path: root/users/sterni/lv
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2023-10-10T10·03+0000
committeredef <edef@edef.eu>2023-10-10T16·58+0000
commitbb54e04c1bf443772414ba1c21d072b1fce83506 (patch)
treeae4cb5bfb2e757087e92ac64424f9c432e081c49 /users/sterni/lv
parentda648b4707fb1d8fd6a9679669d2eb36a5f0832c (diff)
fix(tvix/nix-compat): clean up the debug assertions a bit r/6766
Consistent error messages, and slightly nicer code layout. We avoid
printing the input data, since we primarily want to point out the
specific violated invariant. In the one place where we do want to,
we use BStr's Debug implementation, since byte slices don't print
nicely.

Change-Id: I3a9a0c37be270ea5f16cf124922c254608fb849e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9617
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: edef <edef@edef.eu>
Diffstat (limited to 'users/sterni/lv')
0 files changed, 0 insertions, 0 deletions