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] #[macro_use]
extern crate wasmer_runtime_core; extern crate wasmer_runtime_core;
use std::collections::HashMap;
use lazy_static::lazy_static; use lazy_static::lazy_static;
use std::cell::UnsafeCell; use std::cell::UnsafeCell;
use std::collections::HashMap;
use std::path::PathBuf; use std::path::PathBuf;
use std::{f64, ffi::c_void}; use std::{f64, ffi::c_void};
use wasmer_runtime_core::{ use wasmer_runtime_core::{

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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