Creates a new VM with the given `upcalls_by_name` as the available built-in callables.
(upcalls_by_name: HashMap<SymbolKey, Rc<dyn Callable>>)
| 231 | |
| 232 | /// Creates a new VM with the given `upcalls_by_name` as the available built-in callables. |
| 233 | pub fn new(upcalls_by_name: HashMap<SymbolKey, Rc<dyn Callable>>) -> Self { |
| 234 | Self::new_with_limits(upcalls_by_name, Limits::default()) |
| 235 | } |
| 236 | |
| 237 | /// Creates a new VM with the given `upcalls_by_name` and resource `limits`. |
| 238 | pub fn new_with_limits( |
nothing calls this directly
no test coverage detected