소스 검색

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.");
     }