You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/02/22 23:21:30 UTC

[GitHub] [incubator-teaclave-sgx-sdk] dingelish edited a comment on issue #207: duplicate lang item in crate `sgx_tstd` (which `num_bigint` depends on): `f32_runtime`.

dingelish edited a comment on issue #207:  duplicate lang item in crate `sgx_tstd` (which `num_bigint` depends on): `f32_runtime`.
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/207#issuecomment-590008057
 
 
   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 below, 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" }
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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