about summary refs log tree commit diff
path: root/tvix/eval/src/nix_search_path.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-01-04T14·45+0300
committertazjin <tazjin@tvl.su>2023-01-17T10·38+0000
commitbf6f6a0b3f41c480525846de233f57731c6d4ec7 (patch)
tree121560e34256877b9c54c0464687ed0c220e559e /tvix/eval/src/nix_search_path.rs
parent559a09c5e6dc55717f97c3664f73ec65f736583f (diff)
refactor(tvix/eval): non-hacky suspended native thunks r/5676
Instead of having a representation of suspended native thunks that
involves constructing a fake code chunk, make these thunks a
first-class part of the internal thunk representation.

The previous code was not that simple to understand, and actually
contained a critical bug which could lead to Tvix crashes. This
version fixes the particular instance of that bug, but instead
uncovers another (b/238) which can still lead to Tvix crashes.

Fixes: b/237.
Change-Id: I771d03864084d63953bdbb518fec94487481f839
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7750
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/nix_search_path.rs')
0 files changed, 0 insertions, 0 deletions