mobilecoinfoundation / sgx-std

Rust libstd functionality for SGX enclaves

Home Page:https://mobilecoin.foundation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider ergonomics around dependent OCALLs

nick-mobilecoin opened this issue · comments

Currently mc-sgx-io wants an ocall for the stderr handling, ocall_stderr.
We should consider providing:

  • An edl file with the declaration
  • A default implementation that projects can link in

Intel provides edl files in the SGX SDK for ocalls that are used by tstdc Mutex, RwLock, and Condvar. (As well as some other edl files).