-
Notifications
You must be signed in to change notification settings - Fork 757
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2195: feat(types) Remove dependency to `cranelift-entity` r=Hywan a=Hywan # Description Don't be afraid, everything is cool. `cranelift-entity` is nice, but we are limited by it. We want to go further for some features. Those features are very likely to be refused by Cranelift because it's out of their scope. This patch basically copies the code from `cranelift-entity` inside `wasmer-types`. The code has been modified to fit in our own “`no_std`” strategy. The code will be modified deeper in upcoming patches and most of the entities are likely to radically change. The goal of this patch is strictly to not break our code while porting the new code. # Review - [ ] Add a short description of the the change to the CHANGELOG.md file - [ ] Do we need to update the `ATTRIBUTIONS.md` file? Co-authored-by: Ivan Enderlin <ivan@mnt.io>
- Loading branch information
Showing
14 changed files
with
1,551 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# `wasmer-types` [![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 provides the basic structures to use WebAssembly easily anywhere. | ||
|
||
### Acknowledgments | ||
|
||
This project borrowed some of the code for the entity structure from [cranelift-entity](https://crates.io/crates/cranelift-entity). | ||
We decided to move it here to help on serialization/deserialization and also to ease the integration with other tools like `loupe`. | ||
|
||
Please check [Wasmer ATTRIBUTIONS](https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md) to further see licenses and other attributions of the project. |
Oops, something went wrong.