diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-04T15·43+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-09T21·10+0000 |
commit | 3cf5c402091d1e10c26fddf6764f572495f38899 (patch) | |
tree | f801dc351d8654c7d001090843e8ff8e2fb6d193 /tvix/eval/src/lib.rs | |
parent | 8ee4d6d5db44d93c0fff67db87dcb4ae9f885351 (diff) |
chore(tvix/eval): export some symbols from the crate r/4776
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 <sternenseemann@systemli.org> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/lib.rs')
-rw-r--r-- | tvix/eval/src/lib.rs | 6 |
1 files changed, 5 insertions, 1 deletions
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; |