-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2851: Feat/wasmer wasm alt r=Amanieu a=ptitSeb # Description Abiility to build wasmer compile engine as WebAssembly, using a new CLI program `wasmer-compiler-cli`. This is done with following steps: * New wasmer-engine-universal-artifact (extracted from wasmer-engine-universal), that handle only compilation and serialization. * wasmer-engine-universal will uses this crate to create the artifact binary. * wasmer-compiler-cli uses this crate for offline compilation. Co-authored-by: ptitSeb <[email protected]>
- Loading branch information
Showing
82 changed files
with
2,888 additions
and
1,048 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[package] | ||
name = "wasmer-artifact" | ||
version = "2.2.1" | ||
description = "Wasmer Artifact abstraction" | ||
categories = ["wasm"] | ||
keywords = ["wasm", "webassembly", "engine"] | ||
authors = ["Wasmer Engineering Team <[email protected]>"] | ||
repository = "https://github.com/wasmerio/wasmer" | ||
license = "MIT OR Apache-2.0 WITH LLVM-exception " | ||
readme = "README.md" | ||
edition = "2018" | ||
|
||
[dependencies] | ||
wasmer-types = { path = "../types", version = "=2.2.1" } | ||
wasmer-compiler = { path = "../compiler", version = "=2.2.1" } | ||
loupe = "0.1" | ||
thiserror = "1.0" | ||
enumset = "1.0" | ||
|
||
[badges] | ||
maintenance = { status = "actively-developed" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# `wasmer-artifact` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE) | ||
|
||
|
||
This crate is the general abstraction for creating Artifacts in Wasmer. | ||
|
||
### Acknowledgments | ||
|
||
This project borrowed some of the code of the trap implementation from | ||
the [`wasmtime-api`], the code since then has evolved significantly. | ||
|
||
Please check [Wasmer `ATTRIBUTIONS`] to further see licenses and other | ||
attributions of the project. | ||
|
||
|
||
[`wasmer-engine-universal`]: https://github.com/wasmerio/wasmer/tree/master/lib/engine-universal | ||
[`wasmer-engine-dylib`]: https://github.com/wasmerio/wasmer/tree/master/lib/engine-dylib | ||
[`wasmer-engine-staticlib`]: https://github.com/wasmerio/wasmer/tree/master/lib/engine-staticlib | ||
[`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 |
Oops, something went wrong.