22 releases (11 breaking)

0.12.0 May 21, 2025
0.11.0 Mar 22, 2024
0.10.1 Dec 11, 2023
0.9.0 Oct 19, 2023
0.3.0 Oct 20, 2022

#451 in Build Utils

Download history 518/week @ 2025-10-10 1302/week @ 2025-10-17 357/week @ 2025-10-24 418/week @ 2025-10-31 430/week @ 2025-11-07 274/week @ 2025-11-14 444/week @ 2025-11-21 259/week @ 2025-11-28 458/week @ 2025-12-05 550/week @ 2025-12-12 190/week @ 2025-12-19 123/week @ 2025-12-26 186/week @ 2026-01-02 271/week @ 2026-01-09 313/week @ 2026-01-16 273/week @ 2026-01-23

1,045 downloads per month
Used in 44 crates (19 directly)

Apache-2.0

105KB
210 lines

MobileCoin SGX: Build Utilities

Project ChatLicenseTargetCrates.ioDocs StatusDependency Status

Utilities for compiling FFI wrappers to SGX libraries.

Environment Variables

Below are environment variables that affect the building of the SGX FFI wrappers.

  • SGX_SDK The path to the Intel SGX SDK. Provides:

    1. The location of the SGX SDK headers.

      Note: the DCAP headers are assumed to be in the default system include path

    2. The location of the SGX SDK libraries for linking

    When SGX_SDK is not set:

    1. The vendored local directory headers/ will be used for compile time includes
    2. /opt/intel/sgxsdk will be used as the linking directory for SGX SDK libraries
  • CFLAGS - 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

Dependencies

~5–7MB
~132K SLoC