## Description
Upgrade Rust toolchain and SGX software.
Fixes # (issue)
https://github.com/apache/incubator-teaclave/issues/664
https://github.com/apache/incubator-teaclave/issues/662
## Type of change (select or add applied and delete the others)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality
to not work as expected)
- [ ] API change with a documentation update
- [ ] Additional test coverage
- [ ] Code cleanup or just sync with upstream third-party crates
## How has this been tested?
CI and local HW tests.
## Checklist
- [X] Fork the repo and create your branch from `master`.
- [ ] If youve added code that should be tested, add tests.
- [ ] If youve changed APIs, update the documentation.
- [X] Ensure the tests pass (see CI results).
- [X] Make sure your code lints/format.
You can view, comment on, or merge this pull request online at:
https://github.com/apache/incubator-teaclave/pull/666
-- Commit Summary --
* Upgrade to Rust SGX SDK 2.0.0
-- File Changes --
M .github/workflows/ci.yml (14)
M .github/workflows/codeql-analysis.yml (2)
A .github/workflows/docker.yml (163)
M .github/workflows/ubuntu1804-test.yml (2)
M .github/workflows/ubuntu2004-test.yml (12)
M .gitmodules (28)
M CMakeLists.txt (54)
M attestation/Cargo.toml (22)
M attestation/src/attestation.rs (7)
M attestation/src/cert.rs (4)
M attestation/src/key.rs (50)
M attestation/src/lib.rs (21)
M attestation/src/platform.rs (107)
M attestation/src/report.rs (17)
M attestation/src/service.rs (39)
M attestation/src/verifier.rs (10)
M binder/Cargo.toml (11)
M binder/attribute/Cargo.toml (2)
M binder/src/binder.rs (36)
M binder/src/error.rs (2)
M binder/src/ipc/app.rs (22)
M binder/src/ipc/enclave.rs (4)
M binder/src/ipc/mod.rs (1)
M binder/src/lib.rs (4)
M binder/src/ocall.rs (51)
M binder/src/proto.rs (7)
M cli/Cargo.toml (4)
M cmake/TeaclaveGenVars.cmake (13)
M cmake/TeaclaveUtils.cmake (8)
M cmake/scripts/build_in_ci.sh (3)
M cmake/scripts/prep.sh (4)
M cmake/scripts/setup_cmake_tomls.py (12)
M cmake/scripts/sgx_link_sign.sh (8)
M cmake/scripts/test.sh (6)
M cmake/tomls/Cargo.sgx_trusted_lib.toml (83)
M cmake/tomls/Cargo.sgx_untrusted_app.toml (10)
M cmake/tomls/Cargo.unix_app.toml (10)
D common/protected_fs_rs/Cargo.lock (132)
M common/protected_fs_rs/Cargo.toml (13)
M common/protected_fs_rs/build.rs (9)
M common/protected_fs_rs/protected_fs_c/sgx_tprotected_fs.edl (4)
M common/protected_fs_rs/src/deps.rs (28)
M common/protected_fs_rs/src/lib.rs (3)
M common/protected_fs_rs/src/protected_fs.rs (46)
M common/protected_fs_rs/src/sgx_fs_inner.rs (28)
M common/protected_fs_rs/src/sgx_tprotected_fs.rs (93)
M common/rusty_leveldb_sgx/Cargo.toml (11)
M common/rusty_leveldb_sgx/src/block.rs (3)
M common/rusty_leveldb_sgx/src/block_builder.rs (3)
M common/rusty_leveldb_sgx/src/blockhandle.rs (1)
M common/rusty_leveldb_sgx/src/cache.rs (3)
M common/rusty_leveldb_sgx/src/cmp.rs (3)
M common/rusty_leveldb_sgx/src/db_impl.rs (3)
M common/rusty_leveldb_sgx/src/db_iter.rs (3)
M common/rusty_leveldb_sgx/src/disk_env.rs (5)
M common/rusty_leveldb_sgx/src/env.rs (2)
M common/rusty_leveldb_sgx/src/env_common.rs (4)
M common/rusty_leveldb_sgx/src/error.rs (6)
M common/rusty_leveldb_sgx/src/filter.rs (3)
M common/rusty_leveldb_sgx/src/filter_block.rs (7)
M common/rusty_leveldb_sgx/src/infolog.rs (3)
M common/rusty_leveldb_sgx/src/key_types.rs (3)
M common/rusty_leveldb_sgx/src/lib.rs (6)
M common/rusty_leveldb_sgx/src/log.rs (2)
M common/rusty_leveldb_sgx/src/mem_env.rs (4)
M common/rusty_leveldb_sgx/src/memtable.rs (3)
M common/rusty_leveldb_sgx/src/merging_iter.rs (3)
M common/rusty_leveldb_sgx/src/options.rs (3)
M common/rusty_leveldb_sgx/src/skipmap.rs (3)
M common/rusty_leveldb_sgx/src/snapshot.rs (1)
M common/rusty_leveldb_sgx/src/table_block.rs (3)
M common/rusty_leveldb_sgx/src/table_builder.rs (3)
M common/rusty_leveldb_sgx/src/table_cache.rs (2)
M common/rusty_leveldb_sgx/src/table_reader.rs (3)
M common/rusty_leveldb_sgx/src/test_util.rs (3)
M common/rusty_leveldb_sgx/src/types.rs (2)
M common/rusty_leveldb_sgx/src/version.rs (3)
M common/rusty_leveldb_sgx/src/version_edit.rs (4)
M common/rusty_leveldb_sgx/src/version_set.rs (3)
M common/rusty_leveldb_sgx/src/write_batch.rs (3)
M config/Cargo.toml (6)
M config/build.rs (5)
M config/config_gen/Cargo.lock (140)
M config/config_gen/Cargo.toml (2)
M config/config_gen/main.rs (16)
M config/src/lib.rs (5)
M config/src/runtime.rs (2)
M crypto/Cargo.toml (7)
M crypto/src/lib.rs (10)
M