| Crates.io | mc-sgx-core-build |
| lib.rs | mc-sgx-core-build |
| version | 0.12.0 |
| created_at | 2022-08-18 21:08:48.474298+00 |
| updated_at | 2025-05-21 14:55:38.061803+00 |
| description | Build Helpers for SGX FFI Crates |
| homepage | |
| repository | https://github.com/mobilecoinfoundation/sgx |
| max_upload_size | |
| id | 648334 |
| size | 569,610 |
Utilities for compiling FFI wrappers to SGX libraries.
Below are environment variables that affect the building of the SGX FFI wrappers.
SGX_SDK The path to the Intel SGX SDK. Provides:
The location of the SGX SDK headers.
Note: the DCAP headers are assumed to be in the default system include path
The location of the SGX SDK libraries for linking
When SGX_SDK is not set:
headers/ will be used for compile time
includes/opt/intel/sgxsdk will be used as the linking directory for SGX SDK
librariesCFLAGS - Used when generating the rust bindings. Useful to specify
system include paths. Multiple arguments can be separated with whitespace.
This does not support escaped whitespace as specified in
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html