瀏覽代碼

feat: add `log info`

YuKun Liu 3 年之前
父節點
當前提交
e7acc4d88d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.");
     }