# Building Rust std from source (EDP) Links: [[EDP]], [[Rust]], [[Cargo]] ### Building [[Rust]] std from source ```bash # Add rust std to the EDP toolchain rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu # Build from source cargo build -Zbuild-std --target x86_64-fortanix-unknown-sgx # Errors ```