From 78a0c814514fac4f69ee931093ff1f3c546f2ffa Mon Sep 17 00:00:00 2001 From: dbr Date: Mon, 13 Sep 2021 13:47:44 +1000 Subject: [PATCH] Remove autofix_submodules call from bindgen Previously if you checked out a different rev of imgui submodule, this would be clobbered With this change, you can checkout any revision of imgui, run bindgen, build, test, then commit change to the submodule The autofix is still available via 'cargo task modfix' --- xtask/src/bindgen.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/xtask/src/bindgen.rs b/xtask/src/bindgen.rs index 50f77e3..305d239 100644 --- a/xtask/src/bindgen.rs +++ b/xtask/src/bindgen.rs @@ -4,7 +4,6 @@ use std::path::{Path, PathBuf}; impl Bindgen { pub fn run(self) -> Result<()> { - crate::autofix_submodules(); let root = crate::project_root(); let bindings = self .cimgui_path