diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-04T13·51+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-09T21·10+0000 |
commit | 7ae45342df28c7f3feb50334aee535a1d36e2bec (patch) | |
tree | 65f70ac724d987a6d4c107c03a72b4ac714a3020 /tvix/eval/src/lib.rs | |
parent | 1fe6cfe5a279cd19dbb2586f30db6a8790db7a4d (diff) |
feat(tvix/eval): implement (compilation) observer trait r/4774
This trait will enable library users of tvix-eval to observe internal happenings of the compilation and runtime processes. The initial methods of the observer will be called whenever the compiler emits a chunk. Change-Id: I668f6c2cfe3d6f4c1a1612c0f293831011768437 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6448 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/lib.rs')
-rw-r--r-- | tvix/eval/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/lib.rs b/tvix/eval/src/lib.rs index 7156a03b6444..e088ef3ee4e3 100644 --- a/tvix/eval/src/lib.rs +++ b/tvix/eval/src/lib.rs @@ -3,6 +3,7 @@ mod chunk; mod compiler; mod errors; mod eval; +mod observer; mod opcode; mod upvalues; mod value; |