Crates.io | mc-sgx-urts-sys |
lib.rs | mc-sgx-urts-sys |
version | 0.11.0 |
source | src |
created_at | 2022-08-18 21:50:12.273136 |
updated_at | 2024-03-22 20:20:31.488705 |
description | FFI bindings for `sgx_urts`. |
homepage | |
repository | https://github.com/mobilecoinfoundation/sgx |
max_upload_size | |
id | 648366 |
size | 5,799 |
Provides the rust function bindings to the sgx_urts
library.
Look for the LICENSE file at the root of the repo for more information.
The workspace can be built with cargo build
and tested with cargo test
.
Either command will recognize the cargo --release
flag to build with
optimizations.
The Intel SGX SDK needs to be installed.
See https://github.com/intel/linux-sgx#build-the-intelr-sgx-sdk-and-intelr-sgx-psw-package for installation instructions.
The environment variable SGX_SDK
can be used to specify where the SDK is
installed. When unset the location will default to /opt/intel/sgxsdk
When no features are present the SGX hardware libraries will be linked in. When
the sim
feature is present the simulation SGX libraries will be linked in.