Procházet zdrojové kódy

feat: add `log info`

YuKun Liu před 3 roky
rodič
revize
e7acc4d88d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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.");
     }