we need a way to construct "0 ocall enclave" and this is the first move: make the env var access optional in sgx_tstd.
new feature gate proposed `initenv` which is by default open (backward compatible). disable this feature could statically remove `ocall::initenv` and `ocall::initargs`. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/377 -- Commit Summary -- * feat: new feature gate `initenv` to disable env ocalls on demand -- File Changes -- M sgx_tstd/Cargo.toml (3) M sgx_tstd/src/rt.rs (43) M sgx_tstd/src/sys/mod.rs (6) -- Patch Links -- https://github.com/apache/incubator-teaclave-sgx-sdk/pull/377.patch https://github.com/apache/incubator-teaclave-sgx-sdk/pull/377.diff -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/377 You are receiving this because you are subscribed to this thread. Message ID: <apache/incubator-teaclave-sgx-sdk/pull/3...@github.com>