Mention Wasmtime as a complete implementation of the Environment traits.

This commit is contained in:
Dan Gohman
2018-12-20 15:02:10 -08:00
parent 95118e7244
commit 998a7d2b6d
3 changed files with 12 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
//! All the runtime support necessary for the wasm to cranelift translation is formalized by the
//! traits `FunctionEnvironment` and `ModuleEnvironment`.
//!
//! There are skeleton implementations of these traits in the `dummy` module, and complete
//! implementations in [Wasmtime].
//!
//! [Wasmtime]: https://github.com/CraneStation/wasmtime
use cranelift_codegen::cursor::FuncCursor;
use cranelift_codegen::ir::immediates::Offset32;
use cranelift_codegen::ir::{self, InstBuilder};