From 6890f3fcc05351c8d1395aed516cbbb15e27220a Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Sat, 6 Jul 2024 18:34:10 +1000 Subject: [PATCH] Fix generate-windows-sys-bindings (#1133) Pass --config minimal to generate sys binding without any dependencies --- dev-tools/gen-windows-sys-binding/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-tools/gen-windows-sys-binding/src/main.rs b/dev-tools/gen-windows-sys-binding/src/main.rs index 7efb1f86..245f5af4 100644 --- a/dev-tools/gen-windows-sys-binding/src/main.rs +++ b/dev-tools/gen-windows-sys-binding/src/main.rs @@ -29,6 +29,7 @@ fn main() -> io::Result<()> { "--config", "flatten", "sys", + "minimal", "--out", temp_file.path().to_str().unwrap(), "--filter",