From 6c9abc1f6854c0b9b567ec31790cc052c1e037c9 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 6 Sep 2022 21:26:31 +0300 Subject: fix(tvix/eval): use correct lambda address in observer 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 --- tvix/eval/src/observer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix') diff --git a/tvix/eval/src/observer.rs b/tvix/eval/src/observer.rs index 8dc2a6a0ca..d662ea8a38 100644 --- a/tvix/eval/src/observer.rs +++ b/tvix/eval/src/observer.rs @@ -82,7 +82,7 @@ impl DisassemblingObserver { &mut self.writer, "=== compiled {} @ {:p} ({} ops) ===", kind, - lambda, + *lambda, lambda.chunk.code.len() ); } -- cgit 1.4.1