"std Aware Cargo" (https://github.com/rust-lang/wg-cargo-std-aware) is one of 
the most important building blocks for Teaclave SGX SDK. With this, we can 
build SGX enclave without worry about the complexity brought by Xargo or no-std 
Cargo. However this is a long-term plan for Cargo, which doesn't gain higher 
priority from the community.

Recently, I found that they already has an MVP implementation 
(https://github.com/rust-lang/wg-cargo-std-aware#mvp-implementation). This 
supports an option called `build-std` to build std/core/compiler-builtins from 
sources. However, the MVP implementation only partially solves our issue. I 
didn't see any further plan further.

However, I found the `build-std` option may good enough for us. I created a 
repository to show the possibility of using it: 
https://github.com/mssun/build-std.

If you're interested in this, please help me to figure out if there're any 
potential difficulties of using `build-std`.

-- 
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/311

Reply via email to