Compiler::new() changes

This commit is contained in:
evan-schott 2023-11-03 10:18:16 -07:00
parent 26ff2b5815
commit da1419c2ab
2 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,9 @@ version = "=1.10.0"
[dependencies.backtrace]
version = "0.3.68"
[dependencies.indexmap]
version = "1.9"
[dependencies.clap]
version = "4.4"
features = [ "derive" ]

View File

@ -16,6 +16,7 @@
//! This file contains tools for benchmarking the Leo compiler and its stages.
use indexmap::IndexMap;
use leo_compiler::{BuildOptions, Compiler, CompilerOptions, OutputOptions};
use leo_errors::emitter::{Emitter, Handler};
use leo_span::{source_map::FileName, symbol::SESSION_GLOBALS};
@ -105,6 +106,7 @@ fn new_compiler(handler: &Handler) -> Compiler<'_> {
dce_ast: false,
},
}),
IndexMap::new(),
)
}