diff --git a/crates/forge/bin/cmd/build.rs b/crates/forge/bin/cmd/build.rs index 67410e84e..c6e6bbd2d 100644 --- a/crates/forge/bin/cmd/build.rs +++ b/crates/forge/bin/cmd/build.rs @@ -90,6 +90,10 @@ impl BuildArgs { config = self.load_config(); } + if self.zk_detect_missing_libraries { + config.zksync.zk_detect_missing_libraries = true; + } + if !config.zksync.should_compile() { let project = config.project()?;