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/07/01 01:52:02 UTC
[apache/incubator-teaclave] Add Teaclave context file APIs and
related examples for WASM executor (#515)
## Description
APIs and their examples for running Rust and C are added.
Related documents, tests and docker images are also updated.
Fixes # (issue)
## Type of change (select or add applied and delete the others)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [X] 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've added code that should be tested, add tests.
- [X] If you'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/515
-- Commit Summary --
* need makefile & py scripts
* rust psi sample done
* nearly done
* delete outputs
* test should be OK
* formate
-- File Changes --
M cmake/scripts/test.sh (9)
M docker/build.ubuntu-1804.sgx-2.9.1.Dockerfile (2)
M docker/build.ubuntu-1804.sgx-dcap-1.6.Dockerfile (2)
A docs/executing-wasm.md (65)
M examples/python/builtin_ordered_set_intersect.py (2)
A examples/python/wasm_c_millionaire_problem_payload/Makefile (45)
R examples/python/wasm_c_millionaire_problem_payload/millionaire_problem.c (9)
R examples/python/wasm_c_simple_add.py (2)
R examples/python/wasm_c_simple_add_payload/simple_add.c (1)
R examples/python/wasm_c_simple_add_payload/simple_add.wasm (0)
A examples/python/wasm_rust_psi.py (217)
A examples/python/wasm_rust_psi_payload/Cargo.toml (16)
A examples/python/wasm_rust_psi_payload/Makefile (23)
A examples/python/wasm_rust_psi_payload/src/lib.rs (98)
D examples/python/wasm_teaclave_pf_payload/teaclave_pf.h (68)
M executor/README.md (6)
M executor/src/wamr.rs (5)
A sdk/payload/wasm/cbindgen.toml (33)
A sdk/payload/wasm/teaclave_context.h (94)
A sdk/payload/wasm/teaclave_context/Cargo.toml (8)
A sdk/payload/wasm/teaclave_context/src/lib.rs (191)
R tests/fixtures/functions/wamr_c_millionaire_problem/expected_output.txt (0)
R tests/fixtures/functions/wamr_c_millionaire_problem/input_a.txt (0)
R tests/fixtures/functions/wamr_c_millionaire_problem/input_b.txt (0)
A tests/fixtures/functions/wamr_c_millionaire_problem/millionaire_problem.c (118)
R tests/fixtures/functions/wamr_c_millionaire_problem/millionaire_problem.wasm (0)
A tests/fixtures/functions/wamr_rust_psi/psi0.txt (20)
A tests/fixtures/functions/wamr_rust_psi/psi0.txt.enc (0)
A tests/fixtures/functions/wamr_rust_psi/psi1.txt (19)
A tests/fixtures/functions/wamr_rust_psi/psi1.txt.enc (0)
-- Patch Links --
https://github.com/apache/incubator-teaclave/pull/515.patch
https://github.com/apache/incubator-teaclave/pull/515.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/515
Re: [apache/incubator-teaclave] Add Teaclave context file APIs and
related examples for WASM executor (#515)
Posted by Mingshen Sun <no...@github.com.INVALID>.
Merged #515 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/515#event-4969053963