Skip to content

Commit bafd0fb

Browse files
committed
fix: req-add docker in build
1 parent 23f2fcc commit bafd0fb

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

aggregation_mode/build.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use std::io::Read;
66
use std::path::Path;
77
use std::{env, fs};
88

9-
// Hash all inputs
109
fn hash_files_and_features<P: AsRef<Path>>(paths: &[P], features: Vec<String>) -> String {
1110
let mut hasher = Keccak256::new();
1211
for path in paths {
@@ -61,7 +60,7 @@ fn main() {
6160
output_directory: Some("./aggregation_programs/sp1/elf".to_string()),
6261
// We use Docker to generate a reproducible ELF that will be identical across all platforms
6362
// (https://docs.succinct.xyz/docs/sp1/writing-programs/compiling#production-builds)
64-
// docker: true,
63+
docker: true,
6564
..Default::default()
6665
}
6766
});
@@ -71,7 +70,7 @@ fn main() {
7170
let docker_options = DockerOptionsBuilder::default().build().unwrap();
7271
// Reference: https://github.com/risc0/risc0/blob/main/risc0/build/src/config.rs#L73-L90
7372
let guest_options = GuestOptionsBuilder::default()
74-
// .use_docker(docker_options)
73+
.use_docker(docker_options)
7574
.build()
7675
.unwrap();
7776
risc0_build::embed_methods_with_options(HashMap::from([(

0 commit comments

Comments
 (0)