We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60e8a70 commit a70175eCopy full SHA for a70175e
zkvm/risc0/build.rs
@@ -2,25 +2,13 @@ use risc0_binfmt::compute_image_id;
2
use risc0_build::{embed_method_metadata_with_options, DockerOptions, GuestOptions};
3
use std::{
4
collections::HashMap,
5
- env,
6
fs::File,
7
io::Write,
8
path::{Path, PathBuf},
9
str::FromStr,
10
};
11
12
fn main() {
13
- println!("cargo:rerun-if-env-changed=ZKDCAP_RISC0_BUILD");
14
- match env::var("ZKDCAP_RISC0_BUILD") {
15
- Ok(v) if v == "1" => {
16
- println!("debug: ZKDCAP_RISC0_BUILD is set");
17
- }
18
- _ => {
19
- println!("debug: ZKDCAP_RISC0_BUILD is not set");
20
- return;
21
22
23
-
24
// Builds can be made deterministic, and thereby reproducible, by using Docker to build the
25
// guest.
26
let use_docker = Some(DockerOptions {
0 commit comments