summaryrefslogtreecommitdiff
path: root/scripts/test/support.py
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-08-20 18:20:39 -0700
committerGitHub <noreply@github.com>2024-08-20 18:20:39 -0700
commit9772dc6cf3ce153b1eb2a570901161194e06e6a6 (patch)
tree5479a59fb892d1612d5ebef2e43c1221bc59516a /scripts/test/support.py
parent435eeead73cf02a6fb5bc7d7a36dd45b8d700cb2 (diff)
downloadbinaryen-9772dc6cf3ce153b1eb2a570901161194e06e6a6.tar.gz
binaryen-9772dc6cf3ce153b1eb2a570901161194e06e6a6.tar.bz2
binaryen-9772dc6cf3ce153b1eb2a570901161194e06e6a6.zip
Fix encoding of heap type definitions (#6856)
The leading bytes that indicate what kind of heap type is being defined are bytes, but we were previously treating them as SLEB128-encoded values. Since we emit the smallest LEB encodings possible, we were writing the correct bytes in output files, but we were also improperly accepting binaries that used more than one byte to encode these values. This was caught by an upstream spec test.
Diffstat (limited to 'scripts/test/support.py')
0 files changed, 0 insertions, 0 deletions