commit | 196ef144da7113d7b1c32eb7fa46135674948e50 | [log] [tgz] |
---|---|---|
author | Yu Ding <dingelish@gmail.com> | Tue Mar 29 16:37:41 2022 -0700 |
committer | Yu Ding <dingelish@gmail.com> | Tue Mar 29 16:37:41 2022 -0700 |
tree | 8a0d8413272243c59193adc8e5a21d0fa6afd72b | |
parent | 35bb87162be2970bf5abcf185e9f607449c3a335 [diff] |
feat: new feature gate `initenv` to disable env ocalls on demand
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: