From 3cf5c402091d1e10c26fddf6764f572495f38899 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 4 Sep 2022 18:43:28 +0300 Subject: chore(tvix/eval): export some symbols from the crate These are required for tvixbolt to work. This interface is definitely not stable yet, though. Change-Id: I4076498e8f42311de74ee4f33c93a3ee0c5f8d3a Reviewed-on: https://cl.tvl.fyi/c/depot/+/6450 Reviewed-by: sterni Tested-by: BuildkiteCI --- tvix/eval/src/lib.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tvix/eval') diff --git a/tvix/eval/src/lib.rs b/tvix/eval/src/lib.rs index e1a5ceaed83c..447c74cc0e4c 100644 --- a/tvix/eval/src/lib.rs +++ b/tvix/eval/src/lib.rs @@ -4,7 +4,7 @@ mod compiler; mod disassembler; mod errors; mod eval; -mod observer; +pub mod observer; mod opcode; mod upvalues; mod value; @@ -14,6 +14,10 @@ mod warnings; #[cfg(test)] mod tests; +// Re-export the public interface used by other crates. +pub use crate::builtins::global_builtins; +pub use crate::compiler::compile; pub use crate::errors::EvalResult; pub use crate::eval::interpret; pub use crate::value::Value; +pub use crate::vm::run_lambda; -- cgit 1.4.1