(name: &str)
| 50 | } |
| 51 | |
| 52 | pub(crate) fn module_path(name: &str) -> PathBuf { |
| 53 | let root = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")); |
| 54 | root.join("../../modules").join(name) |
| 55 | } |
| 56 | |
| 57 | pub struct ModuleHandle { |
| 58 | // Keep the in-process standalone env alive for the lifetime of module. |