Formatted code

This commit is contained in:
Syrus 2019-07-31 23:51:12 -07:00
parent 7d89f9cc9a
commit 0dfa1f68a8
7 changed files with 8 additions and 8 deletions

View File

@ -3,9 +3,9 @@
#[macro_use]
extern crate wasmer_runtime_core;
use std::collections::HashMap;
use lazy_static::lazy_static;
use std::cell::UnsafeCell;
use std::collections::HashMap;
use std::path::PathBuf;
use std::{f64, ffi::c_void};
use wasmer_runtime_core::{

View File

@ -1,4 +1,3 @@
use std::collections::HashMap;
use inkwell::{
builder::Builder,
context::Context,
@ -9,6 +8,7 @@ use inkwell::{
values::{BasicValue, BasicValueEnum, FloatValue, FunctionValue, IntValue, PointerValue},
AddressSpace,
};
use std::collections::HashMap;
use std::marker::PhantomData;
use wasmer_runtime_core::{
memory::MemoryType,

View File

@ -1,6 +1,6 @@
use crate::export::Export;
use std::collections::{hash_map::Entry, HashMap};
use std::collections::VecDeque;
use std::collections::{hash_map::Entry, HashMap};
use std::{
cell::{Ref, RefCell},
ffi::c_void,

View File

@ -14,8 +14,8 @@ use crate::{
};
use crate::backend::CacheGen;
use std::collections::HashMap;
use indexmap::IndexMap;
use std::collections::HashMap;
use std::sync::Arc;
/// This is used to instantiate a new WebAssembly module.

View File

@ -2,9 +2,9 @@ use crate::{
structures::Map,
types::{FuncSig, SigIndex},
};
use std::collections::HashMap;
use lazy_static::lazy_static;
use parking_lot::RwLock;
use std::collections::HashMap;
use std::sync::Arc;
lazy_static! {

View File

@ -16,7 +16,7 @@ use serde::{
Deserialize, Deserializer, Serialize, Serializer,
};
use serde_bytes::{Bytes, ByteBuf};
use serde_bytes::{ByteBuf, Bytes};
use std::fmt;

View File

@ -850,8 +850,8 @@ mod vm_ctx_tests {
use crate::cache::Error as CacheError;
use crate::typed_func::Wasm;
use crate::types::{LocalFuncIndex, SigIndex};
use std::collections::HashMap;
use std::any::Any;
use std::collections::HashMap;
use std::ptr::NonNull;
struct Placeholder;
impl RunnableModule for Placeholder {