> When an enclave crate is configured to compile with Xargo, instead of 
> manually importing the `sgx_tstd` standard library, you randomly get the 
> following error from some dependencies:
> 
> ```
> error[E0658]: use of unstable library feature 'rustc_private': this crate is 
> being loaded from the sysroot, an unstable location; did you mean to load 
> this crate from crates.io via `Cargo.toml` instead?
> ```
> 
> A lot of crates compile with no issue at all, correctly linking to the tstd, 
> but random expressions used in some crates trigger this error.
> 
> This is probably due to some miss-configuration of the tstd.
> Which version of rust's std is the tstd based on? Are updates from stable 
> Rust pulled into the tstd?

Which crate will trigger this error? Can you provide a specific crate name?

-- 
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/231#issuecomment-621703960

Reply via email to