Rename cretonne_wasm to cton_wasm, for consistency with the other libraries.

This commit is contained in:
Dan Gohman
2017-09-05 16:27:38 -07:00
parent d3712575b5
commit 320c88f365
4 changed files with 7 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#[macro_use(dbg)]
extern crate cretonne;
extern crate cton_reader;
extern crate cretonne_wasm;
extern crate cton_wasm;
extern crate docopt;
#[macro_use]
extern crate serde_derive;

View File

@@ -5,7 +5,7 @@
//! IL. Can also executes the `start` function of the module by laying out the memories, globals
//! and tables, then emitting the translated code with hardcoded addresses to memory.
use cretonne_wasm::{translate_module, FunctionTranslation, DummyRuntime, WasmRuntime};
use cton_wasm::{translate_module, FunctionTranslation, DummyRuntime, WasmRuntime};
use std::path::PathBuf;
use cretonne::loop_analysis::LoopAnalysis;
use cretonne::flowgraph::ControlFlowGraph;

View File

@@ -7,6 +7,9 @@ description = "Translator from WebAssembly to Cretonne IL"
repository = "https://github.com/stoklund/cretonne"
license = "Apache-2.0"
[lib]
name = "cton_wasm"
[dependencies]
wasmparser = "0.8.2"
cretonne = { path = "../cretonne" }

View File

@@ -1,7 +1,7 @@
extern crate cretonne_wasm;
extern crate cton_wasm;
extern crate cretonne;
use cretonne_wasm::{translate_module, FunctionTranslation, DummyRuntime, WasmRuntime};
use cton_wasm::{translate_module, FunctionTranslation, DummyRuntime, WasmRuntime};
use std::path::PathBuf;
use std::fs::File;
use std::error::Error;