diff --git a/src/lib.rs b/src/lib.rs index 0123bb16..42278a79 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -527,6 +527,7 @@ impl Build { let host = self.get_host()?; let mut cfg = Build::new(); cfg.flag(flag) + .cargo_metadata(self.cargo_metadata) .target(&target) .opt_level(0) .host(&host)