Hi @samsondav, I noticed that the crates under `/opt/sgx-world` are using sgx_tstd from github, while your enclave directly depends on `/opt/rust-sgx-sdk`. Could you please try adding a patch to the Cargo.toml shown as above, to let everything depends on your local rust-sgx-sdk?
``` [patch.'https://github.com/apache/teaclave-sgx-sdk.git'] [patch.'https://github.com/apache/teaclave-sgx-sdk.git'] sgx_alloc = { path = "/opt/rust-sgx-sdk/sgx_alloc" } sgx_build_helper = { path = "/opt/rust-sgx-sdk/sgx_build_helper" } sgx_cov = { path = "/opt/rust-sgx-sdk/sgx_cov" } sgx_crypto_helper = { path = "/opt/rust-sgx-sdk/sgx_crypto_helper" } sgx_libc = { path = "/opt/rust-sgx-sdk/sgx_libc" } sgx_rand = { path = "/opt/rust-sgx-sdk/sgx_rand" } sgx_rand_derive = { path = "/opt/rust-sgx-sdk/sgx_rand_derive" } sgx_serialize = { path = "/opt/rust-sgx-sdk/sgx_serialize" } sgx_serialize_derive = { path = "/opt/rust-sgx-sdk/sgx_serialize_derive" } sgx_serialize_derive_internals = { path = "/opt/rust-sgx-sdk/sgx_serialize_derive_internals" } sgx_tcrypto = { path = "/opt/rust-sgx-sdk/sgx_tcrypto" } sgx_tcrypto_helper = { path = "/opt/rust-sgx-sdk/sgx_tcrypto_helper" } sgx_tdh = { path = "/opt/rust-sgx-sdk/sgx_tdh" } sgx_tkey_exchange = { path = "/opt/rust-sgx-sdk/sgx_tkey_exchange" } sgx_tprotected_fs = { path = "/opt/rust-sgx-sdk/sgx_tprotected_fs" } sgx_trts = { path = "/opt/rust-sgx-sdk/sgx_trts" } sgx_tse = { path = "/opt/rust-sgx-sdk/sgx_tse" } sgx_tseal = { path = "/opt/rust-sgx-sdk/sgx_tseal" } sgx_tservice = { path = "/opt/rust-sgx-sdk/sgx_tservice" } sgx_tstd = { path = "/opt/rust-sgx-sdk/sgx_tstd" } sgx_tunittest = { path = "/opt/rust-sgx-sdk/sgx_tunittest" } sgx_types = { path = "/opt/rust-sgx-sdk/sgx_types" } sgx_ucrypto = { path = "/opt/rust-sgx-sdk/sgx_ucrypto" } sgx_unwind = { path = "/opt/rust-sgx-sdk/sgx_unwind" } sgx_urts = { path = "/opt/rust-sgx-sdk/sgx_urts" } ``` -- 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-sgx-sdk/issues/207#issuecomment-590008057
