mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-04 00:54:36 +00:00
fix test compilation
This commit is contained in:
parent
957140df64
commit
04adbe75ca
8 changed files with 77 additions and 107 deletions
|
@ -3,7 +3,6 @@ use inkwell::module::Module;
|
|||
use libloading::Library;
|
||||
use roc_build::link::module_to_dylib;
|
||||
use roc_build::program::FunctionIterator;
|
||||
use roc_can::builtins::builtin_defs_map;
|
||||
use roc_can::def::Def;
|
||||
use roc_collections::all::{MutMap, MutSet};
|
||||
use roc_gen_llvm::llvm::externs::add_default_roc_externs;
|
||||
|
@ -25,9 +24,6 @@ fn promote_expr_to_module(src: &str) -> String {
|
|||
|
||||
buffer
|
||||
}
|
||||
pub fn test_builtin_defs(symbol: Symbol, var_store: &mut VarStore) -> Option<Def> {
|
||||
builtin_defs_map(symbol, var_store)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn create_llvm_module<'a>(
|
||||
|
@ -67,7 +63,6 @@ fn create_llvm_module<'a>(
|
|||
src_dir,
|
||||
exposed_types,
|
||||
target_info,
|
||||
test_builtin_defs,
|
||||
);
|
||||
|
||||
let mut loaded = match loaded {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue