volcano0dr commented on issue #401: URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/401#issuecomment-1195570214
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). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org For additional commands, e-mail: notifications-h...@teaclave.apache.org