mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
clippy
This commit is contained in:
parent
fc09c3b002
commit
dbcb6ca5da
2 changed files with 2 additions and 1 deletions
|
@ -138,6 +138,7 @@ pub fn gen_from_mono_module<'a>(
|
|||
// TODO how should imported modules factor into this? What if those use builtins too?
|
||||
// TODO this should probably use more helper functions
|
||||
// TODO make this polymorphic in the llvm functions so it can be reused for another backend.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn gen_from_mono_module_llvm<'a>(
|
||||
arena: &'a bumpalo::Bump,
|
||||
loaded: MonomorphizedModule<'a>,
|
||||
|
|
|
@ -340,7 +340,7 @@ pub fn helper<'a>(
|
|||
if !config.emit_debug_info {
|
||||
module.strip_debug_info();
|
||||
}
|
||||
let res_lib = llvm_module_to_dylib(&module, &target, config.opt_level);
|
||||
let res_lib = llvm_module_to_dylib(module, &target, config.opt_level);
|
||||
|
||||
let lib = res_lib.expect("Error loading compiled dylib for test");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue