diff --git a/src/main.rs b/src/main.rs index e9d6771b6bc3e7a83b9b7dde1188caf5cf5a3837..c4e7ec0fb0a138daafb8e972dcd80cdd7df8e88d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,13 +1,13 @@ use anyhow::Context; use clap::Parser; use serde::Deserialize; -use std::{collections::HashMap, error::Error, fs}; +use std::{collections::HashMap, error::Error}; use tracing::{info, instrument, Level}; use tracing_subscriber::{self, EnvFilter}; use wasm_engine::wrapper::{config::EnvConfig, environment::Environment}; use wasmtime::Module; mod function_store; -use function_store::local_store::{FunctionEntry, FunctionStore}; +use function_store::local_store::FunctionStore; use function_store::module_store::ModuleStore; lazy_static::lazy_static! { @@ -35,8 +35,6 @@ struct Args { preload_apps: Option, } -const PROJECT_DIR: &'static str = env!("WASM_ENGINE_PROJECT_DIR"); - #[instrument] #[tokio::main] async fn main() -> Result<(), Box> {