Hi, this is not feasible right now. Teaclave uses two set of Rust dependencies for SGX enclave and untrusted normal world separately. We haven't consolidated these into one. Therefore, we have to compile code in different worlds separately with different `Cargo.toml` files. You can find there here: https://github.com/apache/incubator-teaclave/tree/master/cmake/tomls. Our building system (cmake) will help to switch dependencies when building code for different worlds.
-- 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/issues/546#issuecomment-900625261