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 <sternenseemann@systemli.org> Tested-by: BuildkiteCI
This commit is contained in:
		
							parent
							
								
									8ee4d6d5db
								
							
						
					
					
						commit
						3cf5c40209
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -4,7 +4,7 @@ mod compiler;
 | 
				
			||||||
mod disassembler;
 | 
					mod disassembler;
 | 
				
			||||||
mod errors;
 | 
					mod errors;
 | 
				
			||||||
mod eval;
 | 
					mod eval;
 | 
				
			||||||
mod observer;
 | 
					pub mod observer;
 | 
				
			||||||
mod opcode;
 | 
					mod opcode;
 | 
				
			||||||
mod upvalues;
 | 
					mod upvalues;
 | 
				
			||||||
mod value;
 | 
					mod value;
 | 
				
			||||||
| 
						 | 
					@ -14,6 +14,10 @@ mod warnings;
 | 
				
			||||||
#[cfg(test)]
 | 
					#[cfg(test)]
 | 
				
			||||||
mod tests;
 | 
					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::errors::EvalResult;
 | 
				
			||||||
pub use crate::eval::interpret;
 | 
					pub use crate::eval::interpret;
 | 
				
			||||||
pub use crate::value::Value;
 | 
					pub use crate::value::Value;
 | 
				
			||||||
 | 
					pub use crate::vm::run_lambda;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue