Skip to content

Commit 82ea1fc

Browse files
committed
ruff
1 parent 2ee33af commit 82ea1fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/link.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2439,7 +2439,8 @@ def phase_binaryen(target, options, wasm_target):
24392439
if settings.ASSERTIONS:
24402440
def checksum(a):
24412441
h = 2166136261
2442-
for b in a: h = (h ^ b) * 65599 & 0xffffffff
2442+
for b in a:
2443+
h = (h ^ b) * 65599 & 0xffffffff
24432444
return h
24442445
js = do_replace(js, '"<<< WASM_BINARY_DATA_CHECKSUM >>>"', str(checksum(utils.read_binary(wasm_target))))
24452446
else:

0 commit comments

Comments
 (0)