Skip to content

Commit a70175e

Browse files
committed
remove unnecessary build check
Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
1 parent 60e8a70 commit a70175e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

zkvm/risc0/build.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,13 @@ use risc0_binfmt::compute_image_id;
22
use risc0_build::{embed_method_metadata_with_options, DockerOptions, GuestOptions};
33
use std::{
44
collections::HashMap,
5-
env,
65
fs::File,
76
io::Write,
87
path::{Path, PathBuf},
98
str::FromStr,
109
};
1110

1211
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-
2412
// Builds can be made deterministic, and thereby reproducible, by using Docker to build the
2513
// guest.
2614
let use_docker = Some(DockerOptions {

0 commit comments

Comments
 (0)