about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-06T18·26+0300
committertazjin <tazjin@tvl.su>2022-09-11T12·16+0000
commit6c9abc1f6854c0b9b567ec31790cc052c1e037c9 (patch)
tree56484b3c6f231e6469cbe5942ac532fea9baf964
parentfd14eefed6cdf0d0f5b14b516515660ced69181b (diff)
fix(tvix/eval): use correct lambda address in observer r/4799
Instead of the reference to the Rc, print the address of the Rc
itself.

Change-Id: I4560598924db7d2864d5c4ae9af847aee2ea7eff
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6471
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
-rw-r--r--tvix/eval/src/observer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/observer.rs b/tvix/eval/src/observer.rs
index 8dc2a6a0ca96..d662ea8a3867 100644
--- a/tvix/eval/src/observer.rs
+++ b/tvix/eval/src/observer.rs
@@ -82,7 +82,7 @@ impl<W: Write> DisassemblingObserver<W> {
             &mut self.writer,
             "=== compiled {} @ {:p} ({} ops) ===",
             kind,
-            lambda,
+            *lambda,
             lambda.chunk.code.len()
         );
     }