A few weeks ago, the
x86_64-fortanix-unknown-sgx target has gotten Tier 2 support in Rust. This means you can now install it through rustup!
rustup target add x86_64-fortanix-unknown-sgx --toolchain nightly
The userspace part (not an official Rust project) was released yesterday. Together these make up the Fortanix EDP: https://edp.fortanix.com. The Fortanix EDP is the preferred way for writing Intel SGX applications from scratch. It’s easy to use, performant, secure. Give it a try!
What is Intel SGX?
Intel Software Guard Extensions (SGX) is an instruction set extension for x86 that allows executing code in fully-isolated secure enclaves . These enclaves reside in the address space of a regular user process, but access to the enclave’s address space from outside (by e.g. the OS or a hypervisor) is blocked.