소스 검색

debug windows build

Jonathan Kelley 1 년 전
부모
커밋
8df87c64c0
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      packages/interpreter/build.rs

+ 3 - 1
packages/interpreter/build.rs

@@ -8,7 +8,9 @@ fn main() {
     let hash = hash_ts_files();
 
     // If the hash matches the one on disk, we're good and don't need to update bindings
-    if include_str!("src/js/hash.txt").trim() == hash.to_string() {
+    let expected = include_str!("src/js/hash.txt").trim();
+    if expected == hash.to_string() {
+        panic!("Hashes match, no need to update bindings. {expected} != {hash}",);
         return;
     }