Remove loupe dependency

Closes #2731
Closes #2744
This commit is contained in:
Manos Pitsidianakis
2022-05-04 20:33:52 +03:00
parent 92b7cb01b5
commit 00f9a3c8d7
99 changed files with 126 additions and 479 deletions

View File

@ -7,7 +7,6 @@ use inkwell::memory_buffer::MemoryBuffer;
use inkwell::module::{Linkage, Module};
use inkwell::targets::FileType;
use inkwell::DLLStorageClass;
use loupe::MemoryUsage;
use rayon::iter::ParallelBridge;
use rayon::prelude::{IntoParallelIterator, IntoParallelRefIterator, ParallelIterator};
use std::sync::Arc;
@ -23,7 +22,6 @@ use wasmer_types::{FunctionIndex, LocalFunctionIndex, SignatureIndex};
/// A compiler that compiles a WebAssembly module with LLVM, translating the Wasm to LLVM IR,
/// optimizing it and then translating to assembly.
#[derive(MemoryUsage)]
pub struct LLVMCompiler {
config: LLVM,
}