qinkunbao opened a new pull request #598:
URL: https://github.com/apache/incubator-teaclave/pull/598


   ## Description
   Teaclave execution crate exports several APIs such as 
`reset_thread_context`, `reset_thread_context`, and `c_open_input`. These APIs 
are used by statically linked non-rust executors like `mesapy` and `wamr` to 
read/write files from the execution service.
   
   However, the above APIs are not accessible to the built-in functions because 
build-in functions are in a different crate `teaclave_function `. 
`teaclave_function`  is the dependency of the crate `teaclave execution`.
   
   This PR moves these APIs into a separate crate so build-in functions can 
invoke these APIs directly.
   
   ## How has this been tested?
   CI test.
   
   ## Checklist
   
   * [x] Fork the repo and create your branch from `master`.
   * [x] If you've added code that should be tested, add tests.
   * [x] Ensure the tests pass (see CI results).
   * [x] Make sure your code lints/format.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org
For additional commands, e-mail: notifications-h...@teaclave.apache.org

Reply via email to