mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-16 17:18:57 +00:00
Remove nearly-all mentions of reborn.
This commit is contained in:
10
README.md
10
README.md
@@ -4,8 +4,8 @@
|
||||
</a>
|
||||
|
||||
<p>
|
||||
<a href="https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild">
|
||||
<img src="https://github.com/wasmerio/wasmer-reborn/workflows/build/badge.svg?style=flat-square" alt="Build Status">
|
||||
<a href="https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild">
|
||||
<img src="https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square" alt="Build Status">
|
||||
</a>
|
||||
<a href="https://github.com/wasmerio/wasmer/blob/master/LICENSE">
|
||||
<img src="https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square" alt="License">
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
<br />
|
||||
|
||||
[Wasmer](https://wasmer.io/) enables super lightweight containers based on [WebAssembly](https://webassembly.org/) that can run anywhere: from Desktop to the Cloud and IoT devices, and also embedded in [*any programming language*](https://github.com/wasmerio/wasmer-reborn#language-integrations).
|
||||
[Wasmer](https://wasmer.io/) enables super lightweight containers based on [WebAssembly](https://webassembly.org/) that can run anywhere: from Desktop to the Cloud and IoT devices, and also embedded in [*any programming language*](https://github.com/wasmerio/wasmer#language-integrations).
|
||||
|
||||
## Features
|
||||
|
||||
@@ -102,12 +102,12 @@ qjs >
|
||||
[👋 Missing a language?](https://github.com/wasmerio/wasmer/issues/new?assignees=&labels=%F0%9F%8E%89+enhancement&template=---feature-request.md&title=)
|
||||
|
||||
[rust logo]: ./assets/languages/rust.svg
|
||||
[rust integration]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/api
|
||||
[rust integration]: https://github.com/wasmerio/wasmer/tree/master/lib/api
|
||||
[`wasmer` rust crate]: https://crates.io/crates/wasmer/
|
||||
[rust docs]: https://wasmerio.github.io/wasmer/crates/wasmer_runtime
|
||||
|
||||
[c logo]: ./assets/languages/c.svg
|
||||
[c integration]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/c-api
|
||||
[c integration]: https://github.com/wasmerio/wasmer/tree/master/lib/c-api
|
||||
[`wasmer.h` headers]: https://wasmerio.github.io/wasmer/c/runtime-c-api/
|
||||
[c docs]: https://wasmerio.github.io/wasmer/c/runtime-c-api/
|
||||
|
||||
|
||||
@@ -191,8 +191,8 @@ example.
|
||||
[cross-compilation]: ./engine_cross_compilation.rs
|
||||
[exported-function]: ./exports_function.rs
|
||||
[wasi]: ./wasi.rs
|
||||
[`wasmer-compiler-singlepass`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-singlepass
|
||||
[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-cranelift
|
||||
[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-llvm
|
||||
[`wasmer-wasi`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/wasi
|
||||
[`wasmer-compiler-singlepass`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-singlepass
|
||||
[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-cranelift
|
||||
[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm
|
||||
[`wasmer-wasi`]: https://github.com/wasmerio/wasmer/tree/master/lib/wasi
|
||||
[WASI]: https://github.com/WebAssembly/WASI
|
||||
|
||||
@@ -20,7 +20,7 @@ or the `jit_cranelift` fuzzer
|
||||
```sh
|
||||
cargo fuzz run jit_cranelift
|
||||
```
|
||||
See the [fuzz/fuzz_targets](https://github.com/wasmerio/wasmer-reborn/tree/fuzz/fuzz_targets/) directory for the full list of targets.
|
||||
See the [fuzz/fuzz_targets](https://github.com/wasmerio/wasmer/tree/fuzz/fuzz_targets/) directory for the full list of targets.
|
||||
|
||||
You should see output that looks something like this:
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
[`Wasmer`](https://wasmer.io/) is the most popular [WebAssembly](https://webassembly.org/)
|
||||
runtime for Rust (...and also [the fastest]()!). It supports JIT (Just in Time) and AOT (Ahead of time)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-c-api` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-c-api` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
This crate exposes a C and a C++ API for the Wasmer runtime. It also fully supports the [wasm-c-api common API](https://github.com/WebAssembly/wasm-c-api).
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ project (WasmerRuntimeCApiTests)
|
||||
add_executable(test-exported-memory test-exported-memory.c)
|
||||
add_executable(test-exports test-exports.c)
|
||||
add_executable(test-globals test-globals.c)
|
||||
# trampoline functionality not yet implemented in wasmer reborn
|
||||
# trampoline functionality not yet implemented
|
||||
#add_executable(test-import-function test-import-function.c)
|
||||
add_executable(test-import-trap test-import-trap.c)
|
||||
add_executable(test-imports test-imports.c)
|
||||
@@ -80,7 +80,7 @@ target_link_libraries(test-globals general ${WASMER_LIB})
|
||||
target_compile_options(test-globals PRIVATE ${COMPILER_OPTIONS})
|
||||
add_test(test-globals test-globals)
|
||||
|
||||
# trampoline functionality not yet implemented in wasmer reborn
|
||||
# trampoline functionality not yet implemented
|
||||
#target_link_libraries(test-import-function general ${WASMER_LIB})
|
||||
#target_compile_options(test-import-function PRIVATE ${COMPILER_OPTIONS})
|
||||
#add_test(test-import-function test-import-function)
|
||||
|
||||
2
lib/cache/README.md
vendored
2
lib/cache/README.md
vendored
@@ -1,4 +1,4 @@
|
||||
# `wasmer-cache` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-cache` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
The `wasmer-cache` crate allows to cache WebAssembly modules (of kind
|
||||
`wasmer::Module`) in your system, so that next uses of the module does
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-cli` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-cli` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
This crate is the Wasmer CLI.
|
||||
|
||||
@@ -35,13 +35,13 @@ The Wasmer supports the following features:
|
||||
* `cranelift`: support for the [Cranelift compiler].
|
||||
* `llvm`: support for the [LLVM compiler].
|
||||
|
||||
[JIT Engine]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/engine-jit/
|
||||
[Native Engine]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/engine-native/
|
||||
[WASI]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/wasi/
|
||||
[Emscripten]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/emscripten/
|
||||
[Singlepass compiler]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-singlepass/
|
||||
[Cranelift compiler]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-cranelift/
|
||||
[LLVM compiler]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-llvm/
|
||||
[JIT Engine]: https://github.com/wasmerio/wasmer/tree/master/lib/engine-jit/
|
||||
[Native Engine]: https://github.com/wasmerio/wasmer/tree/master/lib/engine-native/
|
||||
[WASI]: https://github.com/wasmerio/wasmer/tree/master/lib/wasi/
|
||||
[Emscripten]: https://github.com/wasmerio/wasmer/tree/master/lib/emscripten/
|
||||
[Singlepass compiler]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-singlepass/
|
||||
[Cranelift compiler]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-cranelift/
|
||||
[LLVM compiler]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm/
|
||||
|
||||
## CLI commands
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-compiler-cranelift` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-compiler-cranelift` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
This crate contains a compiler implementation based on Cranelift.
|
||||
|
||||
@@ -39,7 +39,7 @@ Please check [Wasmer `ATTRIBUTIONS`] to further see licenses and other
|
||||
attributions of the project.
|
||||
|
||||
|
||||
[example]: https://github.com/wasmerio/wasmer-reborn/blob/master/examples/compiler_cranelift.rs
|
||||
[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-llvm
|
||||
[example]: https://github.com/wasmerio/wasmer/blob/master/examples/compiler_cranelift.rs
|
||||
[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm
|
||||
[`cranelift-wasm`]: https://crates.io/crates/cranelift-wasm
|
||||
[Wasmer `ATTRIBUTIONS`]: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
use cranelift_codegen::machinst::buffer::MachSrcLoc;
|
||||
use cranelift_codegen::{isa, Context};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
use crate::translator::{
|
||||
type_to_irtype, FuncEnvironment as BaseFuncEnvironment, GlobalVariable, TargetEnvironment,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! A trampoline generator for calling dynamic host functions from Wasm.
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! A trampoline generator for calling Wasm functions easily.
|
||||
//!
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! This module contains the bulk of the interesting code performing the translation between
|
||||
//! WebAssembly bytecode and Cranelift IR.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! All the runtime support necessary for the wasm to cranelift translation is formalized by the
|
||||
//! traits `FunctionEnvironment`.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! WebAssembly module and function translation state.
|
||||
//!
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Standalone WebAssembly to Cranelift IR translator.
|
||||
//!
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-compiler-llvm` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-compiler-llvm` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
This crate contains a compiler implementation based on [the LLVM Compiler Infrastructure][LLVM].
|
||||
|
||||
@@ -51,5 +51,5 @@ Or via any of the [pre-built binaries that LLVM offers][llvm-pre-built].
|
||||
|
||||
|
||||
[LLVM]: https://llvm.org/
|
||||
[example]: https://github.com/wasmerio/wasmer-reborn/blob/master/examples/compiler_llvm.rs
|
||||
[example]: https://github.com/wasmerio/wasmer/blob/master/examples/compiler_llvm.rs
|
||||
[llvm-pre-built]: https://releases.llvm.org/download.html
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-compiler-singlepass` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-compiler-singlepass` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
This crate contains a compiler implementation based on the Singlepass linear compiler.
|
||||
|
||||
@@ -37,6 +37,6 @@ predictable compilation speed makes it ideal for **blockchains** and other
|
||||
systems where fast and consistent compilation times are very critical.
|
||||
|
||||
|
||||
[example]: https://github.com/wasmerio/wasmer-reborn/blob/master/examples/compiler_singlepass.rs
|
||||
[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-cranelift
|
||||
[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-llvm
|
||||
[example]: https://github.com/wasmerio/wasmer/blob/master/examples/compiler_singlepass.rs
|
||||
[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-cranelift
|
||||
[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-compiler` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-compiler` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
This crate is the base for Compiler implementations.
|
||||
|
||||
@@ -8,9 +8,9 @@ compiler implementor.
|
||||
|
||||
Here are some of the Compilers provided by Wasmer:
|
||||
|
||||
* [Singlepass](https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-singlepass),
|
||||
* [Cranelift](https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-cranelift),
|
||||
* [LLVM](https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-llvm).
|
||||
* [Singlepass](https://github.com/wasmerio/wasmer/tree/master/lib/compiler-singlepass),
|
||||
* [Cranelift](https://github.com/wasmerio/wasmer/tree/master/lib/compiler-cranelift),
|
||||
* [LLVM](https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm).
|
||||
|
||||
## How to create a compiler
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! A `Compilation` contains the compiled function bodies for a WebAssembly
|
||||
//! module (`CompiledFunction`).
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Source locations.
|
||||
//!
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
use super::module::translate_module;
|
||||
use super::state::ModuleTranslationState;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Translation skeleton that traverses the whole WebAssembly module and call helper functions
|
||||
//! to deal with each part of it.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Helper functions to gather information for each of the non-function sections of a
|
||||
//! WebAssembly module.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
use crate::{wasm_unsupported, WasmResult};
|
||||
use std::boxed::Box;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-runtime-core` [DEPRECATED] [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-runtime-core` [DEPRECATED] [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
## Deprecation notice: please read
|
||||
|
||||
@@ -40,6 +40,6 @@ by providing common types to compile and to instantiate a WebAssembly
|
||||
module.
|
||||
|
||||
Most Wasmer users should prefer the API which is re-exported by the
|
||||
[`wasmer-runtime`](https://github.com/wasmerio/wasmer-reborn/tree/master/lib/deprecated/runtime)
|
||||
[`wasmer-runtime`](https://github.com/wasmerio/wasmer/tree/master/lib/deprecated/runtime)
|
||||
library by default. This crate provides additional APIs which may be
|
||||
useful to users that wish to customize the Wasmer runtime.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-runtime` [DEPRECATED] [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-runtime` [DEPRECATED] [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
## Deprecation notice: please read
|
||||
|
||||
@@ -119,6 +119,6 @@ let module = compile_with(wasm_bytes, Backend::LLVM)?;
|
||||
```
|
||||
|
||||
[`compile_with`]: https://docs.rs/wasmer-runtime/*/wasmer_runtime/fn.compile_with.html
|
||||
[`wasmer-compiler-singlepass`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-singlepass
|
||||
[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-cranelift
|
||||
[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler-llvm
|
||||
[`wasmer-compiler-singlepass`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-singlepass
|
||||
[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-cranelift
|
||||
[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-emscripten` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-emscripten` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
This crate provides the necessary imports to use [Emscripten] WebAssembly generated files easily from Wasmer.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-engine-jit` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-engine-jit` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
The Wasmer JIT engine is usable with any compiler implementation based
|
||||
on [`wasmer-compiler`]. After the compiler process the result, the JIT
|
||||
@@ -18,8 +18,8 @@ Please check [Wasmer `ATTRIBUTIONS`] to further see licenses and other
|
||||
attributions of the project.
|
||||
|
||||
|
||||
[`wasmer-compiler`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler
|
||||
[`wasmer`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/api
|
||||
[example]: https://github.com/wasmerio/wasmer-reborn/blob/master/examples/engine_jit.rs
|
||||
[`wasmer-compiler`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler
|
||||
[`wasmer`]: https://github.com/wasmerio/wasmer/tree/master/lib/api
|
||||
[example]: https://github.com/wasmerio/wasmer/blob/master/examples/engine_jit.rs
|
||||
[`wasmtime-jit`]: https://crates.io/crates/wasmtime-jit
|
||||
[Wasmer `ATTRIBUTIONS`]: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Memory management for executable code.
|
||||
use crate::unwind::UnwindRegistry;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Module for System V ABI unwind registry.
|
||||
use wasmer_compiler::CompiledFunctionUnwindInfo;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Module for Windows x64 ABI unwind registry.
|
||||
use std::collections::HashMap;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-engine-native` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-engine-native` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
The Wasmer Native engine is usable with any compiler implementation
|
||||
based on [`wasmer-compiler`] that is able to emit
|
||||
@@ -40,11 +40,11 @@ Or via any of the [pre-built binaries that LLVM
|
||||
offers][llvm-pre-built].
|
||||
|
||||
|
||||
[`wasmer-compiler`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/compiler
|
||||
[`wasmer-compiler`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler
|
||||
[PIC]: https://en.wikipedia.org/wiki/Position-independent_code
|
||||
[`dlsym`]: https://www.freebsd.org/cgi/man.cgi?query=dlsym
|
||||
[`wasmer`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/api
|
||||
[example]: https://github.com/wasmerio/wasmer-reborn/blob/master/examples/engine_native.rs
|
||||
[`wasmer`]: https://github.com/wasmerio/wasmer/tree/master/lib/api
|
||||
[example]: https://github.com/wasmerio/wasmer/blob/master/examples/engine_native.rs
|
||||
[`gcc`]: https://gcc.gnu.org/
|
||||
[`clang`]: https://clang.llvm.org/
|
||||
[llvm-pre-built]: https://releases.llvm.org/download.html
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-engine` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-engine` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
This crate is the general abstraction for creating Engines in Wasmer.
|
||||
|
||||
@@ -26,8 +26,8 @@ Please check [Wasmer `ATTRIBUTIONS`] to further see licenses and other
|
||||
attributions of the project.
|
||||
|
||||
|
||||
[`wasmer-engine-jit`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/engine-jit
|
||||
[`wasmer-engine-native`]: https://github.com/wasmerio/wasmer-reborn/tree/master/lib/engine-native
|
||||
[`wasmer-engine-dummy`]: https://github.com/wasmerio/wasmer-reborn/tree/master/tests/lib/engine-dummy
|
||||
[`wasmer-engine-jit`]: https://github.com/wasmerio/wasmer/tree/master/lib/engine-jit
|
||||
[`wasmer-engine-native`]: https://github.com/wasmerio/wasmer/tree/master/lib/engine-native
|
||||
[`wasmer-engine-dummy`]: https://github.com/wasmerio/wasmer/tree/master/tests/lib/engine-dummy
|
||||
[`wasmtime-api`]: https://crates.io/crates/wasmtime
|
||||
[Wasmer `ATTRIBUTIONS`]: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-object` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-object` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
The Wasmer Native Object crate aims at cross-generating native objects
|
||||
for various platforms.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-vm` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-vm` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
This crate contains the Wasmer VM runtime library, supporting the Wasm ABI used by any [`wasmer-engine`] implementation.
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
use crate::global::Global;
|
||||
use crate::memory::{Memory, MemoryStyle};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
use crate::vmcontext::{VMFunctionImport, VMGlobalImport, VMMemoryImport, VMTableImport};
|
||||
use wasm_common::entity::{BoxedSlice, PrimaryMap};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! An `Instance` contains all the runtime state used by execution of a
|
||||
//! wasm module (except its callstack and register state). An
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Runtime library calls.
|
||||
//!
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Memory management for linear memories.
|
||||
//!
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Low-level abstraction for allocating and managing zero-filled pages
|
||||
//! of memory.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Data structure for representing WebAssembly modules
|
||||
//! in a [`Module`].
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! This section defines the `PROBESTACK` intrinsic which is used in the
|
||||
//! implementation of "stack probes" on certain platforms.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Implement a registry of function signatures, for fast indirect call
|
||||
//! signature checking.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Memory management for tables.
|
||||
//!
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains partial code from other sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
#include <setjmp.h>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! This is the module that facilitates the usage of Traps
|
||||
//! in Wasmer Runtime
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Trap codes describing the reason for a trap.
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! WebAssembly trap handling, which is built on top of the lower-level
|
||||
//! signalhandling mechanisms.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! This file declares `VMContext` and several related structs which contain
|
||||
//! fields that compiled wasm code accesses directly.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file contains code from external sources.
|
||||
// Attributions: https://github.com/wasmerio/wasmer-reborn/blob/master/ATTRIBUTIONS.md
|
||||
// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
|
||||
|
||||
//! Offsets and sizes of various structs in wasmer-vm's vmcontext
|
||||
//! module.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-wasi-experimental-io-devices` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-wasi-experimental-io-devices` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
This is experimental extension of WASI for basic graphics.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# `wasmer-wasi` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasmer-wasi` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
This crate provides the necessary imports to use WASI easily from Wasmer.
|
||||
|
||||
@@ -34,4 +34,4 @@ let start = instance.exports.get_function("_start")?;
|
||||
start.call(&[])?;
|
||||
```
|
||||
|
||||
*Note: you can find a [full working example using WASI here](https://github.com/wasmerio/wasmer-reborn/blob/master/examples/wasi.rs).*
|
||||
*Note: you can find a [full working example using WASI here](https://github.com/wasmerio/wasmer/blob/master/examples/wasi.rs).*
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# `wasm-common` [](https://github.com/wasmerio/wasmer-reborn/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
# `wasm-common` [](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [](https://slack.wasmer.io) [](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
|
||||
|
||||
This crate provides the basic structures to use WebAssembly easily anywhere.
|
||||
|
||||
Reference in New Issue
Block a user