Skip to content

Trusted build instructions via mrustc

Dev Random edited this page Dec 5, 2017 · 2 revisions

Build rustc

Build rustc via https://github.com/devrandom/trust-rust . This will take 2-3 hours.

Use the instructions in the USE section to put rustc in your path.

Build cargo

Copy the mrustc built cargo into the path. This doesn't support TLS, so it can't access the network.

cp mrustc/stage0/bin/cargo trusted/bin/cargo

Check out powersoftau

This fork of powersoftau is modified to not require network access during build. It vendors all the dependencies, and modifies pairing to be Rust 1.19 compatible.

git clone https://github.com/devrandom/powersoftau
cd powersoftau
git checkout devrandom-trusted

Build

cargo build --release

The binaries will be in target/release

Clone this wiki locally
You can’t perform that action at this time.