about summary refs log tree commit diff
path: root/tvix/eval/src/compiler/mod.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-04T14·57+0300
committertazjin <tazjin@tvl.su>2022-09-04T17·15+0000
commit010a96e52502a70f1746f59b17e385fb2f5930dd (patch)
tree99c20599daf5f8d5d678d9f76641cc43d2aba8f7 /tvix/eval/src/compiler/mod.rs
parent8655440ae3f42543ad5d2a980cef389529867f4b (diff)
refactor(corp/tvixbolt): adapt for tvix-eval's upcoming observer API r/4631
Instead of the previous hack which painfully threaded through
a structure that the disassembler could write to, Tvix's evaluator is
gaining a new "Observer" API which lets library clients observe
compilation output (and, soon!, runtime tracing).

This adapts tvixbolt to use this observer interface (with the default
`DisassemblingObserver`) to populate the `bytecode` field of its
output.

This is purely a mechanical change, no functionality is impacted.

Change-Id: I22bd2218629f30fd7351d4cc5ddcf639c12fea14
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6316
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src/compiler/mod.rs')
0 files changed, 0 insertions, 0 deletions