Dan Gohman
7 years ago
13 changed files with 62 additions and 40 deletions
@ -0,0 +1,14 @@ |
|||
[package] |
|||
name = "wasmstandalone_execute" |
|||
version = "0.0.0" |
|||
authors = ["The Cretonne Project Developers"] |
|||
publish = false |
|||
description = "JIT-style runtime support for WebAsssembly code in Cretonne" |
|||
repository = "https://github.com/sunfishcode/wasmstandalone" |
|||
license = "MIT/Apache-2.0" |
|||
|
|||
[dependencies] |
|||
cretonne = { git = "https://github.com/stoklund/cretonne.git" } |
|||
cretonne-wasm = { git = "https://github.com/stoklund/cretonne.git" } |
|||
region = "0.0.8" |
|||
wasmstandalone_runtime = { path = "../runtime" } |
@ -1,7 +1,7 @@ |
|||
extern crate cretonne; |
|||
extern crate cton_wasm; |
|||
extern crate faerie; |
|||
extern crate wasmstandalone; |
|||
extern crate wasmstandalone_runtime; |
|||
|
|||
mod emit_module; |
|||
|
@ -1,13 +1,12 @@ |
|||
[package] |
|||
name = "wasmstandalone" |
|||
name = "wasmstandalone_runtime" |
|||
version = "0.0.0" |
|||
authors = ["The Cretonne Project Developers"] |
|||
publish = false |
|||
description = "Standalone JIT-style runtime support for WebAsssembly code in Cretonne" |
|||
repository = "https://github.com/stoklund/cretonne" |
|||
description = "Standalone runtime support for WebAsssembly code in Cretonne" |
|||
repository = "https://github.com/sunfishcode/wasmstandalone" |
|||
license = "Apache-2.0" |
|||
|
|||
[dependencies] |
|||
cretonne = { git = "https://github.com/stoklund/cretonne.git" } |
|||
cretonne-wasm = { git = "https://github.com/stoklund/cretonne.git" } |
|||
region = "0.0.8" |
@ -1,16 +0,0 @@ |
|||
//! Standalone JIT-style runtime for WebAssembly using Cretonne. Provides functions to translate
|
|||
//! `get_global`, `set_global`, `current_memory`, `grow_memory`, `call_indirect` that hardcode in
|
|||
//! the translation the base addresses of regions of memory that will hold the globals, tables and
|
|||
//! linear memories.
|
|||
|
|||
#![deny(missing_docs)] |
|||
|
|||
extern crate cretonne; |
|||
extern crate cton_wasm; |
|||
extern crate region; |
|||
|
|||
mod execution; |
|||
mod standalone; |
|||
|
|||
pub use execution::{compile_module, execute, ExecutableCode}; |
|||
pub use standalone::Runtime; |
Loading…
Reference in new issue