move debug
This commit is contained in:
1 file changed
+2
-1
@@ -10,10 +10,11 @@ fn main() {
|
|||||||
// If the hash matches the one on disk, we're good and don't need to update bindings
|
// If the hash matches the one on disk, we're good and don't need to update bindings
|
||||||
let expected = include_str!("src/js/hash.txt").trim();
|
let expected = include_str!("src/js/hash.txt").trim();
|
||||||
if expected == hash.to_string() {
|
if expected == hash.to_string() {
|
||||||
panic!("Hashes match, no need to update bindings. {expected} != {hash}",);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
panic!("Hashes match, no need to update bindings. {expected} != {hash}",);
|
||||||
|
|
||||||
// Otherwise, generate the bindings and write the new hash to disk
|
// Otherwise, generate the bindings and write the new hash to disk
|
||||||
// Generate the bindings for both native and web
|
// Generate the bindings for both native and web
|
||||||
gen_bindings("common", "common");
|
gen_bindings("common", "common");
|
||||||
|
|||||||
Reference in new issue
Block a user