about summary refs log tree commit diff
path: root/tvix/eval/build.rs
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2023-10-28T16·19+0000
committerclbot <clbot@tvl.fyi>2023-10-28T17·11+0000
commit12fb5004d9033ca50579deddcdb5ee0160a296fd (patch)
treeb747c6ffa434e160d058db3f5a2f17a8a1fcc827 /tvix/eval/build.rs
parentae839983818d69852d733c23794d74933bcfe74e (diff)
fix(nix-compat/narinfo): don't allocate errors early r/6902
We also switch the MissingField error to &'static str, since we only 
parse a fixed set of fields.

Together, this makes the performance impact of error handling 
negligible in batch happy-path parsing.

Change-Id: I2bd0ef2f5b35fcaced56b32d238eca75ac199ef1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9867
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: edef <edef@edef.eu>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/build.rs')
0 files changed, 0 insertions, 0 deletions