Format with rustfmt.

This commit is contained in:
Dan Gohman
2018-08-03 15:37:57 -07:00
parent 40791787c7
commit 4992162fab
4 changed files with 7 additions and 7 deletions

View File

@@ -9,8 +9,8 @@ use cranelift_codegen::ir::{
use cranelift_codegen::isa;
use cranelift_codegen::settings;
use cranelift_wasm::{
self, FunctionIndex, Global, GlobalIndex, GlobalVariable, Memory, MemoryIndex, SignatureIndex, Table,
TableIndex, WasmResult, translate_module,
self, translate_module, FunctionIndex, Global, GlobalIndex, GlobalVariable, Memory,
MemoryIndex, SignatureIndex, Table, TableIndex, WasmResult,
};
use module::{DataInitializer, Export, LazyContents, Module, TableElements};
use target_lexicon::Triple;

View File

@@ -1,7 +1,7 @@
use cranelift_codegen::settings;
use cranelift_codegen::settings::Configurable;
use faerie::Artifact;
use wasmtime_environ::{Module, Compilation, Relocations};
use wasmtime_environ::{Compilation, Module, Relocations};
/// Emits a module that has been emitted with the `wasmtime-environ` environment
/// implementation to a native object file.

View File

@@ -20,8 +20,8 @@
extern crate cranelift_codegen;
extern crate cranelift_native;
extern crate docopt;
extern crate wasmtime_execute;
extern crate wasmtime_environ;
extern crate wasmtime_execute;
#[macro_use]
extern crate serde_derive;
extern crate tempdir;
@@ -39,8 +39,8 @@ use std::path::Path;
use std::path::PathBuf;
use std::process::{exit, Command};
use tempdir::TempDir;
use wasmtime_execute::{compile_and_link_module, execute, Instance};
use wasmtime_environ::{Module, ModuleEnvironment};
use wasmtime_execute::{compile_and_link_module, execute, Instance};
const USAGE: &str = "
Wasm to Cranelift IL translation utility.

View File

@@ -19,8 +19,8 @@
extern crate cranelift_codegen;
extern crate cranelift_native;
extern crate docopt;
extern crate wasmtime_obj;
extern crate wasmtime_environ;
extern crate wasmtime_obj;
#[macro_use]
extern crate serde_derive;
extern crate faerie;
@@ -36,8 +36,8 @@ use std::io::prelude::*;
use std::path::Path;
use std::path::PathBuf;
use std::process;
use wasmtime_obj::emit_module;
use wasmtime_environ::{compile_module, Module, ModuleEnvironment};
use wasmtime_obj::emit_module;
const USAGE: &str = "
Wasm to native object translation utility.