In your example, assigning the value of `env` to `sgx` dose work, but in some crates that depend on `libc`, it may cause the detection `target_env` to fail. For the processing of the CPUID instruction, you can refer to the example code [httpreq](https://github.com/apache/incubator-teaclave-sgx-sdk/tree/v2.0.0-preview/samplecode/httpreq).
-- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/401#issuecomment-1195570214 You are receiving this because you are subscribed to this thread. Message ID: <apache/incubator-teaclave-sgx-sdk/issues/401/1195570...@github.com>