commit | 05ead98e52cac2231f35b825a0b41a1ff4107e1e | [log] [tgz] |
---|---|---|
author | volcano <volcano_dr@163.com> | Sun Nov 26 19:47:42 2023 +0800 |
committer | volcano <volcano_dr@163.com> | Sun Nov 26 19:47:42 2023 +0800 |
tree | 73dd0e6796170b653388e69e4d39083690c46067 | |
parent | 9806deabe80d152c99f4679fbc4a60ae63db0eff [diff] |
Support rust nightly-2023-11-17
Teaclave SGX SDK v2.0 is a revamped version. It is much more developer friendly compared to v1.1.
cargo build
+ no_std
, xargo build
and cargo-std-aware
mode.sgx_tstd
is well tested now.use
-able without any change.We still maintain the legacy no_std
cargo build support, and xargo build
with a customized sysroot. v2.0 supports cargo-std-aware
as well.
To switch from these build modes, please specify
BUILD_STD=no
to use traditional no_std
cargo buildBUILD_STD=cargo
(default setting) to use the new std aware cargo buildBUILD_STD=xargo
to use xargo buildWe are still working on porting all v1.1 samples to v2.0. Current available samples include: