diff --git a/methods/build.rs b/methods/build.rs index 11130e5..6d2b67e 100644 --- a/methods/build.rs +++ b/methods/build.rs @@ -24,6 +24,7 @@ const SOLIDITY_ELF_PATH: &str = "../tests/Elf.sol"; fn main() { // Builds can be made deterministic, and thereby reproducible, by using Docker to build the // guest. Check the RISC0_USE_DOCKER variable and use Docker to build the guest if set. + println!("cargo:rerun-if-env-changed=RISC0_USE_DOCKER"); let use_docker = env::var("RISC0_USE_DOCKER").ok().map(|_| DockerOptions { root_dir: Some("../".into()), });