-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/wasmer wasm alt #2851
Merged
Merged
Feat/wasmer wasm alt #2851
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
d5bbfd0
Moved TrapCode enum to wasmer_types, and adapted compiler and wompile…
ptitSeb eb7ef52
Move VMOffset (and a few friends) to wasmer_types, and adapted compil…
ptitSeb e745cea
Moved TableStyle and MemoryStyle to wasmer-types (and compiler-single…
ptitSeb 3d7ae9e
Moved LibCall enum to wasmer_types, and compiler is no longer dependa…
ptitSeb 1783aa5
Also moved enum Trap out of vm
ptitSeb 1f3613c
Split Artifact to have ArtifactCreate that handles only the creation …
ptitSeb 0d6e13a
Added wasm32 part for vfs file access
ptitSeb fd2db37
Removed cfg conditionnal compilation in link, to allow cross-link bet…
ptitSeb 5c609c3
Splitted UniversalEngine in two, to have the Build (compilation) part…
ptitSeb 6353847
Moved is_wasm function from api to types crate
ptitSeb d8a7d9f
Small change on UniversalEngine for consistency
ptitSeb 8010cb8
Created stand-alone wasmer-compiler, builded only as a .wasm target f…
ptitSeb 0c7ea79
Cleanup:
ptitSeb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <engineering@wasmer.io>"] | ||
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot to delete utils.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not resolved: the file is still not deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what file?
lib/api/src/js/utils.rs
? It's not there.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh the github "Files changed" didn't show it as deleted.