apache / incubator-teaclave-sgx-sdk

Apache Teaclave (incubating) SGX SDK helps developers to write Intel SGX applications in the Rust programming language, and also known as Rust SGX SDK.
https://teaclave.apache.org
Apache License 2.0
1.17k stars 264 forks source link

Updating rust toolchain to >2021-11-23 not possible #368

Closed haerdib closed 2 years ago

haerdib commented 2 years ago

With toolchain nightly-2021-11-23 the following error occurs:

error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
   --> /.cargo/git/checkouts/incubator-teaclave-sgx-sdk-f208006cdf70a903/1e8a03a/sgx_tstd/src/sys_common/wtf8.rs:828:9
    |
828 |         next_code_point(&mut self.bytes).map(|c| CodePoint { value: c })
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function