Rename to wasmtime. It's wasmtime!

Also, update to Cretonne 0.13.0.
This commit is contained in:
Dan Gohman
2018-07-02 16:20:22 -07:00
parent 73639e4557
commit c612d48b33
14 changed files with 87 additions and 78 deletions

View File

@@ -1,11 +1,11 @@
[package]
name = "wasmstandalone_obj"
name = "wasmtime_obj"
version = "0.0.0"
authors = ["The Cretonne Project Developers"]
publish = false
[dependencies]
cretonne-codegen = "0.9.0"
cretonne-wasm = "0.9.0"
wasmstandalone_runtime = { path = "../runtime" }
faerie = "0.4.1"
cretonne-codegen = "0.13.0"
cretonne-wasm = "0.13.0"
wasmtime_runtime = { path = "../runtime" }
faerie = "0.4.2"

View File

@@ -1,14 +1,14 @@
use cretonne_codegen::settings;
use cretonne_codegen::settings::Configurable;
use faerie::Artifact;
use wasmstandalone_runtime;
use wasmtime_runtime;
/// Emits a module that has been emitted with the `WasmRuntime` runtime
/// implementation to a native object file.
pub fn emit_module<'module>(
obj: &mut Artifact,
compilation: &wasmstandalone_runtime::Compilation<'module>,
relocations: &wasmstandalone_runtime::Relocations,
compilation: &wasmtime_runtime::Compilation<'module>,
relocations: &wasmtime_runtime::Relocations,
) -> Result<(), String> {
debug_assert!(
compilation.module.start_func.is_none()

View File

@@ -1,7 +1,7 @@
extern crate cretonne_codegen;
extern crate cretonne_wasm;
extern crate faerie;
extern crate wasmstandalone_runtime;
extern crate wasmtime_runtime;
mod emit_module;