You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Hongbo <no...@github.com.INVALID> on 2021/06/10 21:24:42 UTC

[apache/incubator-teaclave] Add WebAssembly Executor Support (#504)

## Description

Add support for WebAssembly with embedded WebAssembly Micro Runtime. Also ships with an example of WASM.

Fixes # (issue)

## Type of change (select or add applied and delete the others)

- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] API change with a documentation update
- [X] Additional test coverage
- [ ] Code cleanup or just sync with upstream third-party crates

## How has this been tested?

## Checklist

- [X] Fork the repo and create your branch from `master`.
- [X] If you&#39;ve added code that should be tested, add tests.
- [ ] If you&#39;ve changed APIs, update the documentation.
- [ ] Ensure the tests pass (see CI results).
- [ ] Make sure your code lints/format.

You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/504

-- Commit Summary --

  * added wamr executor
  * wrapped unsafe and registered the executor
  * added executor type
  * added executor type
  * add library export
  * add library export
  * eliminating errors
  * eliminating errors2
  * compile and link passed
  * add wasm example
  * fixed worker bugs
  * debugging
  * works now, debugging
  * add document of adding new executor
  * Merge branch &#39;apache:master&#39; into master
  * format and changed test
  * compiles
  * update example
  * compiles
  * update libvmlib
  * Merge branch &#39;master&#39; of https://github.com/ya0guang/incubator-teaclave
  * added patch
  * cmaking...
  * update patch
  * need cmake update: patch
  * need minor cmake reconstruct
  * update wasm eg
  * rdy to merge, need cleanning
  * testing
  * rdy to merge

-- File Changes --

    M .gitmodules (3)
    M CMakeLists.txt (50)
    M cmake/scripts/sgx_link_sign.sh (2)
    A docs/adding-custom-executor.md (40)
    A examples/webassembly/simple_add.c (44)
    A examples/webassembly/simple_add.wasm (0)
    A examples/webassembly/utils.py (39)
    A examples/webassembly/wasm_simple_add.py (97)
    M executor/src/lib.rs (3)
    M executor/src/mesapy.rs (1)
    A executor/src/wamr.rs (214)
    A third_party/wamr.patch (582)
    A third_party/wasm-micro-runtime (1)
    M types/src/worker.rs (6)
    M worker/src/worker.rs (6)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/504.patch
https://github.com/apache/incubator-teaclave/pull/504.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/504

Re: [apache/incubator-teaclave] Add WebAssembly Executor Support (#504)

Posted by Mingshen Sun <no...@github.com.INVALID>.
Merged #504 into master.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/504#event-4894405541