Explorar el Código

feat: add `log info`

YuKun Liu hace 3 años
padre
commit
e7acc4d88d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/builder.rs

+ 1 - 1
src/builder.rs

@@ -92,7 +92,7 @@ pub fn build(config: &CrateConfig) -> Result<()> {
             .generate(&bindgen_outdir).unwrap();
     });
     if bindgen_result.is_err() {
-        panic!("Bindgen build failed");
+        log::error!("Bindgen build failed! \nThis is probably due to the Bindgen version, dioxus-cli using `0.2.79` Bindgen crate.");
     }