瀏覽代碼

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;
     }