Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions zkvm/risc0/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,13 @@ use risc0_binfmt::compute_image_id;
use risc0_build::{embed_method_metadata_with_options, DockerOptions, GuestOptions};
use std::{
collections::HashMap,
env,
fs::File,
io::Write,
path::{Path, PathBuf},
str::FromStr,
};

fn main() {
println!("cargo:rerun-if-env-changed=ZKDCAP_RISC0_BUILD");
match env::var("ZKDCAP_RISC0_BUILD") {
Ok(v) if v == "1" => {
println!("debug: ZKDCAP_RISC0_BUILD is set");
}
_ => {
println!("debug: ZKDCAP_RISC0_BUILD is not set");
return;
}
}

// Builds can be made deterministic, and thereby reproducible, by using Docker to build the
// guest.
let use_docker = Some(DockerOptions {
Expand Down
Loading