Rename cretonne_wasm to cton_wasm, for consistency with the other libraries.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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" }
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user